共用方式為


ITextBufferEdit.Snapshot Property

Gets a snapshot of the ITextBuffer at the time this object was created.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
ReadOnly Property Snapshot As ITextSnapshot
ITextSnapshot Snapshot { get; }
property ITextSnapshot^ Snapshot {
    ITextSnapshot^ get ();
}
abstract Snapshot : ITextSnapshot
function get Snapshot () : ITextSnapshot

Property Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot
A snapshot of the ITextBuffer at the time this object was created.

.NET Framework Security

See Also

Reference

ITextBufferEdit Interface

Microsoft.VisualStudio.Text Namespace