FilledRegionType.IsValidFillPatternId
Method
Description:
Check if the id is a FillPatternElement or an invalidElementId
Check if the id is a FillPatternElement or an invalidElementId
Parameters
| Parameter | Type | Description |
|---|---|---|
| patternId | ElementId | Element id of the FillPatternElement |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the id is InvalidElementId, or if the element is a FillPatternElement. False otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |