PreContentChangedEventArgs.BeforeSnapshot Property
Gets the text snapshot before the change.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣告
Public Property BeforeSnapshot As ITextSnapshot
public ITextSnapshot BeforeSnapshot { get; private set; }
public:
property ITextSnapshot^ BeforeSnapshot {
ITextSnapshot^ get ();
private: void set (ITextSnapshot^ value);
}
member BeforeSnapshot : ITextSnapshot with get, private set
function get BeforeSnapshot () : ITextSnapshot
private function set BeforeSnapshot (value : ITextSnapshot)
Property Value
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The text snapshot before the change.
.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.