次の方法で共有


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

'宣言
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
The ITextSnapshot in which the line appears.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace