Identifies if the section type is valid for this view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool IsValidSectionType( SectionType sectionType )
Parameters
- sectionType SectionType
- The section type.
Return Value
BooleanTrue if the Section Type is valid, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |