enum classes cannot have finalize methods. Class<E> getDeclaringClass() Returns the Class object corresponding to this enum constant's enum type. int hashCode() Returns a hash code for this enum constant. String name() Returns the name of this enum constant, exactly as...
enum classes cannot have finalize methods. Class<E>getDeclaringClass() Returns the Class object corresponding to this enum constant's enum type. inthashCode() Returns a hash code for this enum constant. Stringname() Returns the name of this enum constant, exactly as declared in its enum declara...
You cannot define new methods when you are creating an enumeration. However, an enumeration type inherits a complete set of static and instance methods from the Enum class. The following sections survey most of these methods, in addition to several other methods that are commonly used when ...
You can use the static method on the System.Enum base class type or a specific enumeration type. Syntax Copy [System.Enum]::IsDefined([<enum-name>], <value>) Syntax Copy [<enum-name>]::IsDefined([<enum-name>], <value>) PowerShell Copy enum Season { Unknown Spring Summer Au...
java.lang.Object.getClassjava.lang.Object.notifyjava.lang.Object.notifyAlljava.lang.Object.waitjava.lang.Object.waitjava.lang.Object.wait Methods valueOf(String name) public static GraphErrorCodes valueOf(String name) Parameters name java.lang.String ...
they have a staticvaluesmethod that returns an array containing all of the values of the enum in the order they are declared. This method is commonly used in combination with the for-each construct to iterate over the values of an enum type. For example, this code from thePlanetclass examp...
The specified class is not valid. ProviderNotFound-2147217391 A provider referenced in the schema does not have a corresponding registration. InvalidProviderRegistration-2147217390 A provider referenced in the schema has an incorrect or incomplete registration. ...
ReflectedType Returns the type that was used to obtain this EnumBuilder. TypeHandle Retrieves the internal handle for this enum. UnderlyingField Returns the underlying field for this enum. UnderlyingFieldCore When overridden in a derived class, gets the underlying field for this enum. UnderlyingSyst...
ResponseClassType ResponseCodeType ResponseMessageType ResponseMessageTypeMessageXml ResponseObjectCoreType ResponseObjectType ResponseTypeType RestrictionType RetentionActionType RetentionPolicyTagType RetentionTagType RetentionType RightsManagementLicenseDataType RoomType RootItemIdType RuleActionsType RuleFieldURIType R...
Message Queuing returns this error if you do not have permission to manipulate your own profile. CannotCreateHashEx -1072824191 Message text: Unable to create a hash object for an authenticated message.See the Message class's HashAlgorithm property for more information about hash algorithms. Cannot...