RVTDocs.com
Namespace: Autodesk.Revit.DB Class: TableView

TableView.IsValidSectionType

Method
Description:
Identifies if the section type is valid for this view.
Remarks:
Some TableViews do not contain all of the possible section types. For example, standard schedules have only a Heading and Body.
Syntax
public bool IsValidSectionType(
	SectionType sectionType
)
Parameters
Parameter Type Description
sectionType SectionType The section type.
Return Value
Type Description
Boolean True 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