Share

PerformanceAdviserRuleId Class

The unique identifier of a PerformanceAdviserRule

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.GuidEnum
    Autodesk.Revit.DB.PerformanceAdviserRuleId


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class PerformanceAdviserRuleId : GuidEnum

The PerformanceAdviserRuleId type exposes the following members.

Constructors

 NameDescription
Public methodPerformanceAdviserRuleIdCreates a new PerformanceAdviserRuleId instance.

Properties

 NameDescription
Public propertyGuid The Guid of GUID-based enum object.
(Inherited from GuidEnum)

Methods

 NameDescription
Public methodEquals Compares two Guid-based enum object based on their concrete class and GUID value.
(Inherited from GuidEnum)
Public methodGetHashCode Generates a hash code for this Guid-based enum object.
(Inherited from GuidEnum)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Operators

 NameDescription
Public operatorStatic memberEquality(PerformanceAdviserRuleId, PerformanceAdviserRuleId)Compares two PerformanceAdviserRuleId instances.
Public operatorStatic memberInequality(PerformanceAdviserRuleId, PerformanceAdviserRuleId)Compares two PerformanceAdviserRuleId instances.

Remarks

Each performance adviser rule registered in application must be given a unique id that can be used to identify and unregister rule later.

See Also

Reference

Was this information helpful?