共用方式為


SnapshotPoint.Snapshot Property

Gets the ITextSnapshot to which this snapshot point 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

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace