SharedParameterApplicableRule
Tests whether an element supports a shared parameter.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.SharedParameterApplicableRule
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class SharedParameterApplicableRule : FilterRule
The SharedParameterApplicableRule type exposes the following members.
Constructors
Name
Description
Public Method
SharedParameterApplicableRule
Constructs an instance of SharedParameterApplicableRule.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from FilterRule)
Public Property
ParameterName
The name of the parameter that an element must support to pass this rule.
Methods
Name
Description
Public Method
Dispose
(Inherited from FilterRule)
Public Method
ElementPasses
Derived classes override this method to implement the test that determines whether the given element passes this rule or not.
(Inherited from FilterRule)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetRuleParameter
Returns the ElementId of the parameter associated to this FilterRule if there is one, or invalidElementId if there is no associated parameter.
(Inherited from FilterRule)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)