Application Document |
Subscribe to the DocumentWorksharingEnabled event to be notified when a document has become workshared.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

public event EventHandler<DocumentWorksharingEnabledEventArgs> DocumentWorksharingEnabled
Value
EventHandler DocumentWorksharingEnabledEventArgs
This event is raised when Revit has just enabled worksharing in the document.
Handlers of this event are permitted to make modifications to any document (including the active document), except for documents that are currently in read-only mode.
