View.SetWorksetVisibility
Method
Description:
Sets visibility for a workset in this view.
Sets visibility for a workset in this view.
Remarks:
It works even when the workset is closed. This settings overrules implicit visibility of the workset (for this particular view only).
It works even when the workset is closed. This settings overrules implicit visibility of the workset (for this particular view only).
Parameters
Parameter | Type | Description |
---|---|---|
worksetId | WorksetId | Id of the workset. |
visible | WorksetVisibility | The visibility of the workset. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | There is no workset with this Id in the document associated with this view. |
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |