RVTDocs.com

CompoundStructure.IsValidRegionId

Method
Description:
Determines whether the specified integer is actually the id of a region in this CompoundStructure.
Syntax
public bool IsValidRegionId(
	int regionId
)
Parameters
Parameter Type Description
regionId Int32 The id of a region in this vertically compound structure.
Return Value
Type Description
Boolean True if the region is valid, false otherwise.
Exceptions
Exception Condition
InvalidOperationException This operation is valid only for vertically compound structures.