Enum OffsetBasePoint
- java.lang.Object
-
- java.lang.Enum<OffsetBasePoint>
-
- microsoft.exchange.webservices.data.core.enumeration.search.OffsetBasePoint
-
- All Implemented Interfaces:
Serializable,Comparable<OffsetBasePoint>
public enum OffsetBasePoint extends Enum<OffsetBasePoint>
Defines the offset's base point in a paged view.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OffsetBasePointvalueOf(String name)Returns the enum constant of this type with the specified name.static OffsetBasePoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Beginning
public static final OffsetBasePoint Beginning
The Beginning.
-
End
public static final OffsetBasePoint End
The End.
-
-
Method Detail
-
values
public static OffsetBasePoint[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OffsetBasePoint c : OffsetBasePoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OffsetBasePoint valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-