Sdílet prostřednictvím


MethodType.HasPrimitives Property

Definition

Reports if this type contains a primitive argument or return value.

public bool HasPrimitives { [Android.Runtime.Register("hasPrimitives", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("hasPrimitives", "()Z", "", ApiSince=26)>]
member this.HasPrimitives : bool

Property Value

true if any of the types are primitives

Attributes

Remarks

Reports if this type contains a primitive argument or return value. The return type void counts as a primitive.

Java documentation for java.lang.invoke.MethodType.hasPrimitives().

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