The RevitLinkOptions type exposes the following members.

Constructors

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

Methods

  NameDescription
Public methodDispose
Releases all resources used by the RevitLinkOptions
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorksetConfiguration
Gets the set of worksets to open when creating the link.
Public methodSetWorksetConfiguration
Sets the set of worksets to open when creating the link.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsRelative
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 propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also