PerformanceAdviserRuleId Class

PerformanceAdviserRuleId Class

The unique identifier of a PerformanceAdviserRule
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBGuidEnum
    Autodesk.Revit.DBPerformanceAdviserRuleId

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public class PerformanceAdviserRuleId : GuidEnum
Public Class PerformanceAdviserRuleId
	Inherits GuidEnum
public ref class PerformanceAdviserRuleId : public GuidEnum
type PerformanceAdviserRuleId = 
    class
        inherit GuidEnum
    end

The PerformanceAdviserRuleId type exposes the following members.

Constructors
 NameDescription
Public methodPerformanceAdviserRuleIdCreates a new PerformanceAdviserRuleId instance.
Top
Properties
 NameDescription
Public propertyGuid The Guid of GUID-based enum object.
(Inherited from GuidEnum)
Top
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)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(PerformanceAdviserRuleId, PerformanceAdviserRuleId)Compares two PerformanceAdviserRuleId instances.
Public operatorStatic memberInequality(PerformanceAdviserRuleId, PerformanceAdviserRuleId)Compares two PerformanceAdviserRuleId instances.
Top
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