XAPeerMembers 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 |
|---|---|
| XAPeerMembers(String, Type) |
Initializes peer members for the specified Java and managed types. |
| XAPeerMembers(String, Type, Boolean) |
Initializes peer members for the specified Java and managed types and interface setting. |
XAPeerMembers(String, Type)
Initializes peer members for the specified Java and managed types.
public XAPeerMembers(string jniPeerTypeName, Type managedPeerType);
new Android.Runtime.XAPeerMembers : string * Type -> Android.Runtime.XAPeerMembers
Parameters
- jniPeerTypeName
- String
The 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
XAPeerMembers(String, Type, Boolean)
Initializes peer members for the specified Java and managed types and interface setting.
public XAPeerMembers(string jniPeerTypeName, Type managedPeerType, bool isInterface);
new Android.Runtime.XAPeerMembers : string * Type * bool -> Android.Runtime.XAPeerMembers
Parameters
- jniPeerTypeName
- String
The JNI name of the Java peer type.
- managedPeerType
- Type
The managed peer type, which must implement IJavaPeerable.
- isInterface
- Boolean
Whether the base peer-member lookup treats the peer type as an interface.
Remarks
When the override falls back to the base peer-member lookup, isInterface selects this peer-members instance if true; otherwise, it selects the peer's own members.