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

ParameterUtils.GetBuiltInParameter

Method
Description:
Gets the BuiltInParameter value corresponding to built-in parameter identified by the given ForgeTypeId.
Syntax
public static BuiltInParameter GetBuiltInParameter(
	ForgeTypeId parameterTypeId
)
Parameters
Parameter Type Description
parameterTypeId ForgeTypeId The parameter identifier.
Return Value
Type Description
BuiltInParameter The BuiltInParameter value corresponding to the given parameter identifier.
Exceptions
Exception Condition
ArgumentException parameterTypeId is not a built-in parameter identifier. See IsBuiltInParameter(ForgeTypeId) and GetParameterTypeId(BuiltInParameter).
ArgumentNullException A non-optional argument was NULL