次の方法で共有


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

Return Value

Type: System.UInt16
Returns the class atom of the registered window class.

.NET Framework Security

See Also

Reference

HwndWrapper Class

Microsoft.VisualStudio.PlatformUI Namespace