JniRuntime.ReflectionJniTypeManager.TryRegisterNativeMembers 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.
Surcharges
| Nom | Description |
|---|---|
| TryRegisterNativeMembers(JniType, Type, ReadOnlySpan<Char>) | |
| TryRegisterNativeMembers(JniType, Type, String) |
Obsolète.
|
TryRegisterNativeMembers(JniType, Type, ReadOnlySpan<Char>)
protected bool TryRegisterNativeMembers(Java.Interop.JniType nativeClass, Type type, ReadOnlySpan<char> methods);
member this.TryRegisterNativeMembers : Java.Interop.JniType * Type * ReadOnlySpan<char> -> bool
Paramètres
- nativeClass
- JniType
- type
- Type
- methods
- ReadOnlySpan<Char>
Retours
S’applique à
TryRegisterNativeMembers(JniType, Type, String)
Attention
Use RegisterNativeMembers(JniType, Type, ReadOnlySpan<char>)
[System.Obsolete("Use RegisterNativeMembers(JniType, Type, ReadOnlySpan<char>)")]
protected bool TryRegisterNativeMembers(Java.Interop.JniType nativeClass, Type type, string? methods);
[<System.Obsolete("Use RegisterNativeMembers(JniType, Type, ReadOnlySpan<char>)")>]
member this.TryRegisterNativeMembers : Java.Interop.JniType * Type * string -> bool
Paramètres
- nativeClass
- JniType
- type
- Type
- methods
- String
Retours
- Attributs