IVsUserContextItem.Name(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the name of the UserContextItem selected by the user in the shell.
public:
int Name([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int Name([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int Name (out string pbstrName);
abstract member Name : string -> int
Public Function Name (ByRef pbstrName As String) As Integer
Parameters
- pbstrName
- String
[out] The name of the UserContextItem in the shell.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From context.idl:
HRESULT IVsUserContextItem::Name(
[out, retval] BSTR * pbstrName
);