次の方法で共有


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
    Get
    Private Set
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