次の方法で共有


SnapshotSpan.Snapshot Property

The ITextSnapshot to which this snapshot span refers.

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

Syntax

'宣言
Public ReadOnly Property Snapshot As ITextSnapshot
public ITextSnapshot Snapshot { get; }
public:
property ITextSnapshot^ Snapshot {
    ITextSnapshot^ get ();
}
member Snapshot : ITextSnapshot
function get Snapshot () : ITextSnapshot

Property Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot
The ITextSnapshot.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace