Represents an accessor for workset data which can be obtained from an unopened document.
Inheritance Hierarchy
System.ObjectAutodesk.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
Name | Description | |
---|---|---|
![]() | Id | Id of the workset. |
![]() | IsDefaultWorkset | Whether the workset is the default one. |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() | Name | Name of the workset. |
![]() | Owner | User name of the workset. |
![]() | UniqueId | UniqueId of the workset. |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the WorksetPreview |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |