RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Parameter

Parameter.GetAssociatedGlobalParameter

Method
Description:
Returns a global parameter, if any, currently associated with this parameter.
Remarks:
InvalidElementId is returned in case this parameter is not associated with any global parameter. InvalidElementId is also returned if called for a parameter that cannot even be associated with a global parameters (i.e. a non-parametrizable parameter or parameter with a formula).
Exceptions
Exception Condition
ArgumentException This parameter does not exist in the document anymore.