共用方式為


VirtualSnapshotSpan.Snapshot Property

The ITextSnapshot to which this snapshot span refers.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.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 text snapshot.

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace