Compartilhar via


ITextSnapshotLine.Snapshot Property

Gets the ITextSnapshot in which the line appears.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot
The ITextSnapshot in which the line appears.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace