EnumSet.AllOf(Class) 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.
Creates an enum set containing all of the elements in the specified element type.
[Android.Runtime.Register("allOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "E extends java.lang.Enum<E>" })]
public static Java.Util.EnumSet? AllOf (Java.Lang.Class? elementType);
[<Android.Runtime.Register("allOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "E extends java.lang.Enum<E>" })>]
static member AllOf : Java.Lang.Class -> Java.Util.EnumSet
Parameters
- elementType
- Class
the class object of the element type for this enum set
Returns
An enum set containing all the elements in the specified type.
- Attributes
Remarks
Creates an enum set containing all of the elements in the specified element type.
Java documentation for java.util.EnumSet.allOf(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.