JniPeerMembers Constructors
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 |
|---|---|
| JniPeerMembers(String, Type) |
Creates member access information for a Java class and managed peer type. |
| JniPeerMembers(String, Type, Boolean) |
Creates member access information with an explicit interface-dispatch policy. |
JniPeerMembers(String, Type)
Creates member access information for a Java class and managed peer type.
public JniPeerMembers(string jniPeerTypeName, Type managedPeerType);
new Java.Interop.JniPeerMembers : string * Type -> Java.Interop.JniPeerMembers
Parameters
- jniPeerTypeName
- String
The simple JNI name of the Java peer type.
- managedPeerType
- Type
The managed peer type, which must implement IJavaPeerable.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
JniPeerMembers(String, Type, Boolean)
Creates member access information with an explicit interface-dispatch policy.
public JniPeerMembers(string jniPeerTypeName, Type managedPeerType, bool isInterface);
new Java.Interop.JniPeerMembers : string * Type * bool -> Java.Interop.JniPeerMembers
Parameters
- jniPeerTypeName
- String
The simple JNI name of the Java peer type.
- managedPeerType
- Type
The managed peer type, which must implement IJavaPeerable.
- isInterface
- Boolean
true to use this member set for interface dispatch; false to use each instance's member set.
Remarks
The type manager can replace the supplied JNI type name before it is stored. The Java class reference is obtained lazily.