ITextBuffer.CurrentSnapshot Property
Gets the current content of the buffer.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
声明
ReadOnly Property CurrentSnapshot As ITextSnapshot
Get
ITextSnapshot CurrentSnapshot { get; }
property ITextSnapshot^ CurrentSnapshot {
ITextSnapshot^ get ();
}
abstract CurrentSnapshot : ITextSnapshot
function get CurrentSnapshot () : ITextSnapshot
Property Value
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The current content of the buffer.
.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.