2022 Class
Changes 0
C

ParameterValueProvider

Description:
Gets the value of a parameter from any element passed to getStringValue, getDoubleValue, getIntegerValue, or getElementIdValue.
Remarks:
For any parameter, only one of isStringValueSupported, isDoubleValueSupported, isIntegerValueSupported, isElementIdValueSupported will return true. No attempt to convert between types is made. For example, calling getStringValue, passing the identifier of a numeric-typed parameter will give an empty string. No exception will be thrown, and ParameterValueProvider will not attempt to convert the numeric value to a string.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.FilterableValueProvider
    Autodesk.Revit.DB.ParameterValueProvider
Name Return Type Description Inherited From
C ParameterValueProvider(ElementId) None Constructs an instance of ParameterValueProvider.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the FilterableValueProvider
M GetAssociatedGlobalParameterValue(Element) ElementId Gets a global parameter value associated with a parameter from the given element. FilterableValueProvider
M GetDoubleValue(Element) double Gets a double-precision numeric value from the given element. FilterableValueProvider
M GetElementIdValue(Element) ElementId Gets an ElementId value from the given element. FilterableValueProvider
M GetIntegerValue(Element) int Gets an integer value from the given element. FilterableValueProvider
M GetStringValue(Element) string Gets a string value from the given element. FilterableValueProvider
M IsDoubleValueSupported(Element) bool Determines whether the provide can provide a double-precision numeric value for the given element. FilterableValueProvider
M IsElementIdValueSupported(Element) bool Determines whether the provide can provide an ElementId value for the given element. FilterableValueProvider
M IsIntegerValueSupported(Element) bool Determines whether the provide can provide an integer value for the given element. FilterableValueProvider
M IsStringValueSupported(Element) bool Determines whether the provide can provide a string value for the given element. FilterableValueProvider
Name Return Type Description Inherited From
P Parameter ElementId The parameter used to provide a string, integer, double-precision, or ElementId value on request for a given element.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. FilterableValueProvider