共用方式為


Context.InUndo Property

Indicates whether the context is undoing an operation.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property InUndo As Boolean
    Get
public bool InUndo { get; }
public:
property bool InUndo {
    bool get ();
}
member InUndo : bool
function get InUndo () : boolean

Property Value

Type: System.Boolean
true if the context is undoing an operation; otherwise, false.

.NET Framework Security

See Also

Reference

Context Class

Microsoft.VisualStudio.Modeling Namespace