Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the line position of an item based on its index in a list of context items.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetLine ( _
iItem As UInteger, _
<OutAttribute> ByRef piLine As UInteger _
) As Integer
'Usage
Dim instance As IVsCodeDefViewContext
Dim iItem As UInteger
Dim piLine As UInteger
Dim returnValue As Integer
returnValue = instance.GetLine(iItem, _
piLine)
int GetLine(
uint iItem,
out uint piLine
)
int GetLine(
[InAttribute] unsigned int iItem,
[OutAttribute] unsigned int% piLine
)
abstract GetLine :
iItem:uint32 *
piLine:uint32 byref -> int
function GetLine(
iItem : uint,
piLine : uint
) : int
Parameters
- iItem
Type: System.UInt32
[in] Index of the context item.
- piLine
Type: System.UInt32%
[out] Line number of the item in the Code Definition tool window.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsCodeDefViewContext::GetLine(
ULONG iItem,
ULONG *piLine
);
.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.