Document.GetWorksetId
Method
Description:
Get Id of the Workset which owns the element.
Get Id of the Workset which owns the element.
Remarks:
Each element belongs to one and only one workset.
Each element belongs to one and only one workset.
Parameters
| Parameter | Type | Description |
|---|---|---|
| id | ElementId | Id of the element. |
Return Value
| Type | Description |
|---|---|
| WorksetId | Id of the Workset which owns the element. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |