Partager via


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

'Déclaration
ReadOnly Property CurrentSnapshot As ITextSnapshot
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