Revit 2025.3 API
DocumentGet |
Get the storage type of the identified built-in parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public StorageType GetTypeOfStorage( ForgeTypeId parameterTypeId )
Public Function GetTypeOfStorage ( parameterTypeId As ForgeTypeId ) As StorageType
public: StorageType GetTypeOfStorage( ForgeTypeId^ parameterTypeId )
member GetTypeOfStorage : parameterTypeId : ForgeTypeId -> StorageType
Parameters
- parameterTypeId ForgeTypeId
- Identifier of the built-in parameter.
Return Value
StorageTypeStorage type of the built-in parameter.

Exception | Condition |
---|---|
ArgumentException | parameterTypeId does not identify a built-in parameter. See Parameter.IsBuiltInParameter(ForgeTypeId) and Parameter.GetParameterTypeId(BuiltInParameter). |
ArgumentNullException | A non-optional argument was NULL |
See Also