WorksetId
Description:
WorksetId identifies a workset within a single document.
WorksetId identifies a workset within a single document.
Remarks:
WorksetId is not guaranteed to be unique. It is only valid within one model and its value may change when the model is synchronized with central. If unique identification of a workset is needed, the workset's GUID should be used instead.
WorksetId is not guaranteed to be unique. It is only valid within one model and its value may change when the model is synchronized with central. If unique identification of a workset is needed, the workset's GUID should be used instead.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.WorksetId
System.Object
Autodesk.Revit.DB.WorksetId
public class WorksetId
| Name | Return Type | Description |
|---|---|---|
| WorksetId(Int32) | None | Create an WorksetId handle with the given integer id. |
| Name | Return Type | Description |
|---|---|---|
| Compare(WorksetId) | int | Compares two WorksetIds. |
| op_Equality(WorksetId, WorksetId) | bool | Determines whether these two WorksetIds are the same. |
| Equals(Object) | bool | Determines whether the specified is equal to the current . |
| GetHashCode() | int | Gets the integer value of the id as hash code |
| op_GreaterThan(WorksetId, WorksetId) | bool | Determines whether one WorksetId is greater than another WorksetId. |
| op_GreaterThanOrEqual(WorksetId, WorksetId) | bool | Determines whether one WorksetId is not less than another WorksetId. |
| op_Inequality(WorksetId, WorksetId) | bool | Determines whether these two WorksetIds are different. |
| op_LessThan(WorksetId, WorksetId) | bool | Determines whether this WorksetId is less than another WorksetId. |
| op_LessThanOrEqual(WorksetId, WorksetId) | bool | Determines whether one WorksetId is not greater than another WorksetId. |
| ToString() | string | Gets a String representation of the integer value of the id. |
| Name | Return Type | Description |
|---|---|---|
| IntegerValue | int | Provides the value of the WorksetId as an integer. |
| InvalidWorksetId | WorksetId | Get the invalid WorksetId whose IntegerValue is -1. |