Share via


XmlEditingScope.UserState Property

 

Gets the state object that was provided to the M:Microsoft.VisualStudio.XmlEditor.XmlStore.BeginEditingScope method.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)

Syntax

public abstract object UserState { get; }
public:
property Object^ UserState {
    virtual Object^ get() abstract;
}
abstract UserState : Object with get
Public MustOverride ReadOnly Property UserState As Object

Property Value

Type: System.Object

The state object that was provided to the M:Microsoft.VisualStudio.XmlEditor.XmlStore.BeginEditingScope method.

Remarks

This state object is useful when you want to rediscover the original user intention during an undo/redo operation.

See Also

XmlEditingScope Class
Microsoft.VisualStudio.XmlEditor Namespace

Return to top