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 symbol name 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 GetSymbolName ( _
iItem As UInteger, _
<OutAttribute> ByRef pbstrSymbolName As String _
) As Integer
int GetSymbolName(
uint iItem,
out string pbstrSymbolName
)
int GetSymbolName(
[InAttribute] unsigned int iItem,
[OutAttribute] String^% pbstrSymbolName
)
abstract GetSymbolName :
iItem:uint32 *
pbstrSymbolName:string byref -> int
function GetSymbolName(
iItem : uint,
pbstrSymbolName : String
) : int
Parameters
iItem
Type: UInt32[in] Index of the context item.
pbstrSymbolName
Type: String%[out] String containing the name of the symbol.
Return Value
Type: 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::GetSymbolName(
ULONG iItem,
BSTR *pbstrSymbolName
);
.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.