HwndWrapper.RegisterClass Method
Registers a window class with the given name, and with other options set to default values.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
<CLSCompliantAttribute(False)> _
Protected Function RegisterClass ( _
className As String _
) As UShort
[CLSCompliantAttribute(false)]
protected ushort RegisterClass(
string className
)
Parameters
- className
Type: System.String
The class name for the window.
Return Value
Type: System.UInt16
Returns the class atom of the registered window class.
.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.