Udostępnij za pośrednictwem


ITextView.TextSnapshot Property

Definition

Gets the ITextSnapshot of the text that is currently rendered in the view.

public:
 property Microsoft::VisualStudio::Text::ITextSnapshot ^ TextSnapshot { Microsoft::VisualStudio::Text::ITextSnapshot ^ get(); };
public:
 property Microsoft::VisualStudio::Text::ITextSnapshot ^ TextSnapshot { Microsoft::VisualStudio::Text::ITextSnapshot ^ get(); };
public Microsoft.VisualStudio.Text.ITextSnapshot TextSnapshot { get; }
member this.TextSnapshot : Microsoft.VisualStudio.Text.ITextSnapshot
Public ReadOnly Property TextSnapshot As ITextSnapshot

Property Value

The text snapshot.

Remarks

This snapshot will be identical to the CurrentSnapshot of TextBuffer, except when handling a Changed event on that buffer.

Applies to