2021 Class
Changes 0
C

WorksetId

Description:
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.WorksetId
public class WorksetId
Name Return Type Description
C WorksetId(Int32) None Create an WorksetId handle with the given integer id.
Name Return Type Description
M Compare(WorksetId) int Compares two WorksetIds.
M op_Equality(WorksetId, WorksetId) bool Determines whether these two WorksetIds are the same.
M Equals(Object) bool Determines whether the specified is equal to the current .
M GetHashCode() int Gets the integer value of the id as hash code
M op_GreaterThan(WorksetId, WorksetId) bool Determines whether one WorksetId is greater than another WorksetId.
M op_GreaterThanOrEqual(WorksetId, WorksetId) bool Determines whether one WorksetId is not less than another WorksetId.
M op_Inequality(WorksetId, WorksetId) bool Determines whether these two WorksetIds are different.
M op_LessThan(WorksetId, WorksetId) bool Determines whether this WorksetId is less than another WorksetId.
M op_LessThanOrEqual(WorksetId, WorksetId) bool Determines whether one WorksetId is not greater than another WorksetId.
M ToString() string Gets a String representation of the integer value of the id.
Name Return Type Description
P IntegerValue int Provides the value of the WorksetId as an integer.
P InvalidWorksetId WorksetId Get the invalid WorksetId whose IntegerValue is -1.