FilledRegionTypeIsValidFillPatternId Method |
Check if the id is a FillPatternElement or an invalidElementId
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool IsValidFillPatternId(
ElementId patternId
)
Public Function IsValidFillPatternId (
patternId As ElementId
) As Boolean
public:
bool IsValidFillPatternId(
ElementId^ patternId
)
member IsValidFillPatternId :
patternId : ElementId -> bool
Parameters
- patternId ElementId
-
Element id of the FillPatternElement
Return Value
Boolean
True if the id is InvalidElementId, or if the element is a FillPatternElement.
False otherwise.
Exceptions
See Also