DeleteWorksetSettings
This class represents the settings used to delete a workset.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.DeleteWorksetSettings
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class DeleteWorksetSettings : IDisposable
The DeleteWorksetSettings type exposes the following members.
Constructors
Name
Description
Public Method
DeleteWorksetSettings.
Constructs a DeleteWorksetSettings object with DeleteWorksetOption::DeleteAllElements option.
Public Method
DeleteWorksetSettings(DeleteWorksetOption, WorksetId)
Constructs a DeleteWorksetSettings object.
Properties
Name
Description
Public Property
DeleteWorksetOption
The current delete workset option.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
WorksetId
The target worksetId for those elements under the deleted workset, which is used for DeleteWorksetOption::MoveElementsToWorkset.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the DeleteWorksetSettings
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)