共用方式為


IFormattedLineSource.SourceTextSnapshot Property

Gets the source 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 SourceTextSnapshot As ITextSnapshot
ITextSnapshot SourceTextSnapshot { get; }
property ITextSnapshot^ SourceTextSnapshot {
    ITextSnapshot^ get ();
}
abstract SourceTextSnapshot : ITextSnapshot
function get SourceTextSnapshot () : ITextSnapshot

Property Value

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

.NET Framework Security

See Also

Reference

IFormattedLineSource Interface

Microsoft.VisualStudio.Text.Formatting Namespace