JniRuntime.ReflectionJniTypeManager.TryRegisterNativeMembers Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| TryRegisterNativeMembers(JniType, Type, ReadOnlySpan<Char>) | |
| TryRegisterNativeMembers(JniType, Type, String) |
Obsoletos.
|
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
Parámetros
- nativeClass
- JniType
- type
- Type
- methods
- ReadOnlySpan<Char>
Devoluciones
Se aplica a
TryRegisterNativeMembers(JniType, Type, String)
Precaución
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
Parámetros
- nativeClass
- JniType
- type
- Type
- methods
- String
Devoluciones
- Atributos