JniValueMarshaler<T>.DestroyArgumentState 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.
Cleans up argument state. The generic base implementation casts the value to T and invokes typed cleanup.
public override void DestroyArgumentState(object? value, ref Java.Interop.JniValueMarshalerState state, System.Reflection.ParameterAttributes synchronize = System.Reflection.ParameterAttributes.None);
override this.DestroyArgumentState : obj * JniValueMarshalerState * System.Reflection.ParameterAttributes -> unit
Parameters
- value
- Object
The original value. The generic base implementation casts it to T.
- state
- JniValueMarshalerState
The state to clean up. The generic base implementation passes it by reference to typed cleanup.
- synchronize
- ParameterAttributes
Copy-direction flags. The generic base implementation forwards them to DestroyGenericArgumentState.
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.