# TryGetEnum

## TryGetEnum(out Enum)

public bool TryGetEnum(out Enum value) ;

### Description

Get the value of the Enum type.

### Parameters

Parameter Name | Description
--- | ---
value | The value you get.

### Returns

Return true if the value can be obtained.

## TryGetEnum<TEnum>(out TEnum)

public bool TryGetEnum<TEnum>(out TEnum value) ;

### Description

Get the value of the Enum type.

### Type Parameters

Type Parameter Name | Description | Type Constraints
--- | --- | ---
TEnum | Type of enum to get | Enum

### Parameters

Parameter Name | Description
--- | ---
value | The value you get.

### Returns

Return true if the value can be obtained.