Tests whether an ElementId is of a global parameter in the given document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2016 Subscription Update
Syntax
| C# |
|---|
public static bool IsValidGlobalParameter(
Document document,
ElementId parameterId
) |
| Visual Basic |
|---|
Public Shared Function IsValidGlobalParameter ( _
document As Document, _
parameterId As ElementId _
) As Boolean |
| Visual C++ |
|---|
public:
static bool IsValidGlobalParameter(
Document^ document,
ElementId^ parameterId
) |
Return Value
Returns True if the Id is of a valid global parameter; False otherwise.
Exceptions
See Also