Marshal.GetHINSTANCE(Module) Método

Definição

Retorna o identificador de instância (HINSTANCE) para o módulo especificado.

public:
 static IntPtr GetHINSTANCE(System::Reflection::Module ^ m);
public static IntPtr GetHINSTANCE(System.Reflection.Module m);
[System.Security.SecurityCritical]
public static IntPtr GetHINSTANCE(System.Reflection.Module m);
static member GetHINSTANCE : System.Reflection.Module -> nativeint
[<System.Security.SecurityCritical>]
static member GetHINSTANCE : System.Reflection.Module -> nativeint
Public Shared Function GetHINSTANCE (m As Module) As IntPtr

Parâmetros

m
Module

O módulo cuja HINSTANCE é desejada.

Retornos

IntPtr

nativeint

O HINSTANCE para m; ou -1 se o módulo não tiver um HINSTANCE.

Atributos

Exceções

O m parâmetro é null.

Comentários

Quando dinâmicos ou na memória, os módulos não têm um HINSTANCE.

Aplica-se a