Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function GetItem ( _
iItem As UInteger, _
<OutAttribute> ByRef ppIVsSelectedSymbol As IVsSelectedSymbol _
) As Integer
'使用
Dim instance As IVsSelectedSymbols
Dim iItem As UInteger
Dim ppIVsSelectedSymbol As IVsSelectedSymbol
Dim returnValue As Integer
returnValue = instance.GetItem(iItem, _
ppIVsSelectedSymbol)
int GetItem(
uint iItem,
out IVsSelectedSymbol ppIVsSelectedSymbol
)
int GetItem(
[InAttribute] unsigned int iItem,
[OutAttribute] IVsSelectedSymbol^% ppIVsSelectedSymbol
)
function GetItem(
iItem : uint,
ppIVsSelectedSymbol : IVsSelectedSymbol
) : int
Parameters
iItem
Type: System.UInt32[in]
ppIVsSelectedSymbol
Type: Microsoft.VisualStudio.Shell.Interop.IVsSelectedSymbol%[out]
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 IVsSelectedSymbols::GetItem(
[in] ULONG iItem,
[out] IVsSelectedSymbol **ppIVsSelectedSymbol
);
Permissions
- 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.