Metodo NativeMethods.CreateWindowEx
Questo tipo dispone di un attributo SecurityCriticalAttribute, che ne determina una limitazione al solo utilizzo interno da parte di .NET Framework per la libreria di classi Silverlight. Se un membro qualsiasi di questo tipo viene utilizzato dal codice di un'applicazione, viene generata un'eccezione MethodAccessException.
Spazio dei nomi: Microsoft.TeamFoundation.Common.Internal
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Sintassi
'Dichiarazione
Public Shared Function CreateWindowEx ( _
dwExStyle As Integer, _
lpszClassName As String, _
lpszWindowName As String, _
style As Integer, _
x As Integer, _
y As Integer, _
width As Integer, _
height As Integer, _
hWndParent As IntPtr, _
hMenu As IntPtr, _
hInst As IntPtr, _
pvParam As Object _
) As IntPtr
public static IntPtr CreateWindowEx(
int dwExStyle,
string lpszClassName,
string lpszWindowName,
int style,
int x,
int y,
int width,
int height,
IntPtr hWndParent,
IntPtr hMenu,
IntPtr hInst,
Object pvParam
)
Parametri
- dwExStyle
Tipo: System.Int32
- lpszClassName
Tipo: System.String
- lpszWindowName
Tipo: System.String
- style
Tipo: System.Int32
- x
Tipo: System.Int32
- y
Tipo: System.Int32
- width
Tipo: System.Int32
- height
Tipo: System.Int32
- hWndParent
Tipo: System.IntPtr
- hMenu
Tipo: System.IntPtr
- hInst
Tipo: System.IntPtr
- pvParam
Tipo: System.Object
Valore restituito
Tipo: System.IntPtr