共用方式為


IFormattedLineSource.TopTextSnapshot Property

Gets the top text snapshot for which this source will provide formatted text.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣告
ReadOnly Property TopTextSnapshot As ITextSnapshot
ITextSnapshot TopTextSnapshot { get; }
property ITextSnapshot^ TopTextSnapshot {
    ITextSnapshot^ get ();
}
abstract TopTextSnapshot : ITextSnapshot
function get TopTextSnapshot () : ITextSnapshot

Property Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot
The top text snapshot for which this source will provide formatted text.

.NET Framework Security

See Also

Reference

IFormattedLineSource Interface

Microsoft.VisualStudio.Text.Formatting Namespace