RVTDocs.com

GlobalParametersManager.IsValidGlobalParameter

Method
Description:
Tests whether an ElementId is of a global parameter in the given document.
Syntax
public static bool IsValidGlobalParameter(
	Document document,
	ElementId parameterId
)
Parameters
Parameter Type Description
document Document The document containing the global parameter.
parameterId ElementId Id of a global parameter
Return Value
Type Description
Boolean Returns True if the Id is of a valid global parameter; False otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null