Share via


SnapshotPoint.GetContainingLine Method

Definition

The ITextSnapshotLine containing this snapshot point.

public:
 Microsoft::VisualStudio::Text::ITextSnapshotLine ^ GetContainingLine();
public:
 Microsoft::VisualStudio::Text::ITextSnapshotLine ^ GetContainingLine();
Microsoft::VisualStudio::Text::ITextSnapshotLine GetContainingLine();
public Microsoft.VisualStudio.Text.ITextSnapshotLine GetContainingLine ();
member this.GetContainingLine : unit -> Microsoft.VisualStudio.Text.ITextSnapshotLine
Public Function GetContainingLine () As ITextSnapshotLine

Returns

The ITextSnapshotLine that contains this snapshot point.

Applies to