共用方式為


TextPosition.GetContainingLine Method

Definition

The ITextDocumentSnapshotLine containing this snapshot position.

public Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshotLine GetContainingLine ();
member this.GetContainingLine : unit -> Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshotLine
Public Function GetContainingLine () As ITextDocumentSnapshotLine

Returns

Applies to