Share

TypeBinding Class

TypeBinding objects are used to bind a property to a Revit type, such as a wall type.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.Binding
      Autodesk.Revit.DB.ElementBinding
        Autodesk.Revit.DB.TypeBinding


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

Syntax

C#

public class TypeBinding : ElementBinding

The TypeBinding type exposes the following members.

Constructors

 NameDescription
Public methodTypeBinding()Constructs an empty type binding.
Public methodTypeBinding(CategorySet)Constructs a type binding with the set of categories passed.

Properties

 NameDescription
Public propertyCategoriesRetrieve or set the categories to which a parameter definition will be bound.
(Inherited from ElementBinding)
Public propertyIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)

Methods

 NameDescription
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

This differs from Instance bindings in that the property is then shared by all instances that use that type. Changing the parameter for one type affects all other instances that use that type.

See Also

Reference

Was this information helpful?