TryGetEnumInt

TryGetEnumInt(string, out int)

public bool TryGetEnumInt(string name, out int value) ;

Description

Get the value of the Enum type.

Parameters

Parameter Name Description
name Name.
value The value you get.

Returns

The true when there parameters of the specified name.

TryGetEnumInt(int, out int)

public bool TryGetEnumInt(int id, out int value) ;

Description

Get the value of the Enum type.

Parameters

Parameter Name Description
id ID.
value The value you get.

Returns

The true when there parameters of the specified name.