共用方式為


EnumSet.NoneOf(Class) Method

Definition

Creates an empty enum set with the specified element type.

[Android.Runtime.Register("noneOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "E extends java.lang.Enum<E>" })]
public static Java.Util.EnumSet? NoneOf (Java.Lang.Class? elementType);
[<Android.Runtime.Register("noneOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "E extends java.lang.Enum<E>" })>]
static member NoneOf : Java.Lang.Class -> Java.Util.EnumSet

Parameters

elementType
Class

the class object of the element type for this enum set

Returns

An empty enum set of the specified type.

Attributes

Remarks

Creates an empty enum set with the specified element type.

Java documentation for java.util.EnumSet.noneOf(java.lang.Class<E>).

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