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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Protected Function RegisterClass ( _
className As String _
) As UShort
[CLSCompliantAttribute(false)]
protected ushort RegisterClass(
string className
)
[CLSCompliantAttribute(false)]
protected:
unsigned short RegisterClass(
String^ className
)
[<CLSCompliantAttribute(false)>]
member RegisterClass :
className:string -> uint16
protected function RegisterClass(
className : String
) : ushort
Parameters
className
Type: StringThe class name for the window.
Return Value
Type: 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.