Freigeben über


ITextView.VisualSnapshot Property

Definition

Gets the ITextSnapshot of the visual buffer that is being rendered.

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

Property Value

The text snapshot.

Remarks

This snapshot should not be used in any method that requires a position in the text buffer, since those positions refer to TextSnapshot.

Applies to