Share via


IVsSelectedSymbol.GetName(String) Method

Definition

Gets the symbol name.

public:
 int GetName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int GetName([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int GetName (out string pbstrName);
abstract member GetName : string -> int
Public Function GetName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

[out] The symbol name.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSelectedSymbol::GetName(  
   [out] BSTR *pbstrName  
);  

Applies to