ITextView::TextSnapshot Property

 

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

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

property ITextSnapshot^ TextSnapshot {
	ITextSnapshot^ get();
}

Property Value

Type: Microsoft.VisualStudio.Text::ITextSnapshot^

The text snapshot.

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

Return to top
Show: