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
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.