共用方式為


ITextViewLine.ExtentAsMappingSpan Property

Gets the IMappingSpan that corresponds to the Extent of the line.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.IMappingSpan
The IMappingSpan that corresponds to the Extent of the line.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace