Compartir a través de


SnapshotPoint.GetContainingLine Method

Gets the ITextSnapshotLine containing this snapshot point.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaración
Public Function GetContainingLine As ITextSnapshotLine
public ITextSnapshotLine GetContainingLine()
public:
ITextSnapshotLine^ GetContainingLine()
member GetContainingLine : unit -> ITextSnapshotLine 
public function GetContainingLine() : ITextSnapshotLine

Return Value

Type: Microsoft.VisualStudio.Text.ITextSnapshotLine
The ITextSnapshotLine.

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace