SetEnum
SetEnum(string, Enum)
public bool SetEnum(string name, Enum value) ;
Description
It wants to set the value of the Enum type.
Parameters
| Parameter Name | Description |
|---|---|
| name | Name. |
| value | Value. |
Returns
The true when there parameters of the specified name.
SetEnum(int, Enum)
public bool SetEnum(int id, Enum value) ;
Description
It wants to set the value of the Enum type.
Parameters
| Parameter Name | Description |
|---|---|
| id | ID. |
| value | Value. |
Returns
The true when there parameters of the specified name.
SetEnum<TEnum>(string, TEnum)
public bool SetEnum<TEnum>(string name, TEnum value) ;
Description
It wants to set the value of the Enum type.
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| TEnum | Type of enum to set |
|
Parameters
| Parameter Name | Description |
|---|---|
| name | Name. |
| value | Value. |
Returns
The true when there parameters of the specified name.
SetEnum<TEnum>(int, TEnum)
public bool SetEnum<TEnum>(int id, TEnum value) ;
Description
It wants to set the value of the Enum type.
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| TEnum | Type of enum to set |
|
Parameters
| Parameter Name | Description |
|---|---|
| id | ID. |
| value | Value. |
Returns
The true when there parameters of the specified name.