다음을 통해 공유


IVsPerPropertyBrowsing.GetClassName Method

Returns the classname for this object.

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

Syntax

'Declaration
Function GetClassName ( _
    <OutAttribute> ByRef pbstrClassName As String _
) As Integer
int GetClassName(
    out string pbstrClassName
)
int GetClassName(
    [OutAttribute] String^% pbstrClassName
)
abstract GetClassName : 
        pbstrClassName:string byref -> int
function GetClassName(
    pbstrClassName : String
) : int

Parameters

  • pbstrClassName
    Type: String%

    [out] Pointer to a string containing the classname.

Return Value

Type: Int32
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,...).

.NET Framework Security

See Also

Reference

IVsPerPropertyBrowsing Interface

Microsoft.VisualStudio.Shell.Interop Namespace