Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the ITextSnapshot of the visual buffer that is being rendered.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
ReadOnly Property VisualSnapshot As ITextSnapshot
ITextSnapshot VisualSnapshot { get; }
property ITextSnapshot^ VisualSnapshot {
ITextSnapshot^ get ();
}
abstract VisualSnapshot : ITextSnapshot
function get VisualSnapshot () : ITextSnapshot
Property Value
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The text snapshot.
Remarks
This snapshot should not be used in any method that requires a position in the text buffer position, since those positions refer to TextSnapshot.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.