CompoundStructure.IsValidSegmentId
Method
Description:
Determines whether the specified integer is actually the id of a segment in this CompoundStructure.
Determines whether the specified integer is actually the id of a segment in this CompoundStructure.
Parameters
| Parameter | Type | Description |
|---|---|---|
| segmentId | Int32 | The id of a segment in this CompoundStructure. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the specified segment is valid, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This operation is valid only for vertically compound structures. |