JniRuntime.ReflectionJniTypeManager.TryRegisterNativeMembers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TryRegisterNativeMembers(JniType, Type, ReadOnlySpan<Char>) | |
| TryRegisterNativeMembers(JniType, Type, String) |
Obsolete.
|
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
Parameters
- nativeClass
- JniType
- type
- Type
- methods
- ReadOnlySpan<Char>
Returns
Applies to
TryRegisterNativeMembers(JniType, Type, String)
Caution
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
Parameters
- nativeClass
- JniType
- type
- Type
- methods
- String
Returns
- Attributes