Compartilhar via


TextViewLayoutChangedEventArgs.OldSnapshot Property

Gets the old snapshot of the view. Deprecated.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public ReadOnly Property OldSnapshot As ITextSnapshot
public ITextSnapshot OldSnapshot { get; }
public:
property ITextSnapshot^ OldSnapshot {
    ITextSnapshot^ get ();
}
member OldSnapshot : ITextSnapshot with get
function get OldSnapshot () : ITextSnapshot

Property Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot
The old snapshot of the view.

Remarks

Deprecated. Use OldViewState.EditSnapshot instead.

.NET Framework Security

See Also

Reference

TextViewLayoutChangedEventArgs Class

Microsoft.VisualStudio.Text.Editor Namespace