Share

WorksetPreview Class

Represents an accessor for workset data which can be obtained from an unopened document.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.WorksetPreview
    Autodesk.Revit.DB.Workset


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

Syntax

C#

public class WorksetPreview : IDisposable

The WorksetPreview type exposes the following members.

Properties

 NameDescription
Public propertyId Id of the workset.
Public propertyIsDefaultWorkset Whether the workset is the default one.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyName Name of the workset.
Public propertyOwner User name of the workset.
Public propertyUniqueId UniqueId of the workset.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the WorksetPreview
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

As a base class of Workset, this class has limited access to data. WorksetPreviews are obtained from WorksharingUtils.GetUserWorksetInfo() from an unopened document.

See Also

Reference

Was this information helpful?