JniRuntime.JniTypeManager.GetSimpleReference(Type) 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.
Supplies the single-name lookup hook for a managed type.
protected virtual string? GetSimpleReference(Type type);
abstract member GetSimpleReference : Type -> string
override this.GetSimpleReference : Type -> string
Parameters
- type
- Type
The managed type whose simple JNI name is requested.
Returns
In .NET 9 and .NET 10 for Android, the base implementation returns the first name from GetSimpleReferences, or null if there is none. In .NET 11 for Android, it returns null.
Remarks
This hook does not resolve arrays in the base implementation.