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
'宣言
Public ReadOnly Property OldSnapshot As ITextSnapshot
Get
public ITextSnapshot OldSnapshot { get; }
public:
property ITextSnapshot^ OldSnapshot {
ITextSnapshot^ get ();
}
member OldSnapshot : ITextSnapshot
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.