JniValueMarshaler<T>.CreateObjectReferenceArgumentState 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.
Casts an object to T and creates typed object-reference argument state.
public override Java.Interop.JniValueMarshalerState CreateObjectReferenceArgumentState(object? value, System.Reflection.ParameterAttributes synchronize = System.Reflection.ParameterAttributes.None);
override this.CreateObjectReferenceArgumentState : obj * System.Reflection.ParameterAttributes -> Java.Interop.JniValueMarshalerState
Parameters
- value
- Object
The managed value, cast directly to T.
- synchronize
- ParameterAttributes
Flags forwarded to CreateGenericObjectReferenceArgumentState.
Returns
The state returned by the typed object-reference state creator.
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.