Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.