Share via


IVsPerPropertyBrowsing.GetClassName(String) Method

Definition

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,...).

Applies to