WorksetPreview
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: 25.0.0.0 (25.0.0.0)
Syntax
public class WorksetPreview : IDisposableThe WorksetPreview type exposes the following members.
Properties
Name
Description
Public Property
Id
Id of the workset.
Public Property
IsDefaultWorkset
Whether the workset is the default one.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Name
Name of the workset.
Public Property
Owner
User name of the workset.
Public Property
UniqueId
UniqueId of the workset.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the WorksetPreview
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
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)
Remarks
As a base class of Workset, this class has limited access to data. WorksetPreviews are obtained from WorksharingUtils.GetUserWorksetInfo() from an unopened document.