Returns all the names of the settings instances in the document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2022
Syntax
C# |
---|
public static IList<string> ListNames( Document document ) |
Visual Basic |
---|
Public Shared Function ListNames ( _ document As Document _ ) As IList(Of String) |
Visual C++ |
---|
public: static IList<String^>^ ListNames( Document^ document ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
Document where the settings to be found.
Return Value
List of names.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |