Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IVsPerPropertyBrowsing
Dim pbstrClassName As String
Dim returnValue As Integer
returnValue = instance.GetClassName(pbstrClassName)
int GetClassName(
out string pbstrClassName
)
int GetClassName(
[OutAttribute] String^% pbstrClassName
)
abstract GetClassName :
pbstrClassName:string byref -> int
function GetClassName(
pbstrClassName : String
) : int
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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsPerPropertyBrowsing Interface