Dlfcn.GetInt32(IntPtr, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la valeur int exposée avec le symbole donné de la bibliothèque dynamique.
public static int GetInt32 (IntPtr handle, string symbol);
static member GetInt32 : nativeint * string -> int
Paramètres
- handle
-
IntPtr
nativeint
Handle vers la bibliothèque dynamique précédemment ouverte avec dlopen(String, Int32).
- symbol
- String
Nom du symbole public dans la bibliothèque dynamique à rechercher.
Retours
Valeur de la bibliothèque, ou zéro en cas d’échec.
Remarques
Si cette routine échoue, elle retourne zéro.