RevitLinkOptions Members


The RevitLinkOptions type exposes the following members.

Constructors

Name Description
Public method RevitLinkOptions(Boolean)
Creates a RevitLinkOptions object, specifying relative or absolute path type. If the link is workshared, all worksets will be opened.
Public method RevitLinkOptions(RevitLinkOptions)
Constructs a new copy of the input RevitLinkOptions object.
Public method RevitLinkOptions(Boolean, WorksetConfiguration)
Creates a RevitLinkOptions object, specifying relative or absolute path type, and the desired workset configuration.

Methods

Name Description
Public method Dispose
Releases all resources used by the RevitLinkOptions
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method GetWorksetConfiguration
Gets the set of worksets to open when creating the link.
Public method SetWorksetConfiguration
Sets the set of worksets to open when creating the link.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property IsRelative
The type of path to use when creating the link. If true, Revit will store a relative path for the link. If false, Revit will store an absolute path. If the link is to a Revit Server location, isRelative must be false.
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also