IsEditable

bool IsEditable(this Workset workset, Document doc)

Checks if the workset is editable (not owned by someone else).

Parameters

  • worksetWorkset

    Workset to inspect.

  • docDocument

    Host workshared document.

Returns: True if editable; otherwise false.

Example

bool canEdit = ws.IsEditable(doc);