PexSettingsStoreAttributeBase.GetEnumValue<T>(String, T) 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.
Gets the enum value.
protected:
generic <typename T>
T GetEnumValue(System::String ^ name, T defaultValue);
protected T GetEnumValue<T> (string name, T defaultValue);
member this.GetEnumValue : string * 'T -> 'T
Protected Function GetEnumValue(Of T) (name As String, defaultValue As T) As T
Type Parameters
- T
must be enum
Parameters
- name
- String
The name.
- defaultValue
- T
The default value.
Returns
T