Retrieves the name of the rule.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2012
Syntax
C# |
---|
public string GetRuleName( PerformanceAdviserRuleId id ) |
Visual Basic |
---|
Public Function GetRuleName ( _ id As PerformanceAdviserRuleId _ ) As String |
Visual C++ |
---|
public: String^ GetRuleName( PerformanceAdviserRuleId^ id ) |
Parameters
- id
- Type: Autodesk.Revit.DB..::..PerformanceAdviserRuleId
The rule id to get information for.
Return Value
The name of the rule.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |