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

See Also

Reference

ITextBuffer Interface

Microsoft.VisualStudio.Text Namespace