IVsPerPropertyBrowsing.GetClassName(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 classname for this object.
public:
int GetClassName([Runtime::InteropServices::Out] System::String ^ % pbstrClassName);
int GetClassName([Runtime::InteropServices::Out] std::wstring const & & pbstrClassName);
public int GetClassName (out string pbstrClassName);
abstract member GetClassName : string -> int
Public Function GetClassName (ByRef pbstrClassName As String) As Integer
Parameters
- pbstrClassName
- String
[out] Pointer to a string containing the classname.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPerPropertyBrowsing::GetClassName(
[out, retval]BSTR* pbstrClassName
);
Returns the classname for this object. The classname is the non-bolded text that appears in the Properties window object selection combo. If this method returns a non-S_OK return code, the default will be used. The default is the name string from a call to GetDocumentation (MEMID_NIL,...).