Partager via


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

'Declaration
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

See Also

Reference

PreContentChangedEventArgs Class

Microsoft.VisualStudio.Text Namespace