Revit 2023 API |
Element..::..GetOrderedParameters Method |
Element Class See Also |
Gets the parameters associated to the element in order.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2015
Syntax
C# |
---|
public IList<Parameter> GetOrderedParameters() |
Visual Basic |
---|
Public Function GetOrderedParameters As IList(Of Parameter) |
Visual C++ |
---|
public: IList<Parameter^>^ GetOrderedParameters() |
Return Value
A collection containing all parameters.
Remarks
The collection consists of only visible parameters associated to the element; it returns a different list than Element.Parameters.
The parameters are returned in the order in which they appear in the Revit UI within a given group; however, parameters of different groups may be mixed within this output.
Currently the Revit UI order is determined first by group and next by the order of the individual parameters.