IVsPerPropertyBrowsing::GetClassName Method (String^)

 

Returns the classname for this object.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetClassName(
	[OutAttribute] String^% pbstrClassName
)

Parameters

pbstrClassName
Type: System::String^

[out] Pointer to a string containing the classname.

Return Value

Type: System::Int32

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

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

Return to top
Show: