[]
Gets an enumeration value specified by a path.
public object GetEnum(string path)
Public Function GetEnum(path As String) As Object
| Type | Name | Description |
|---|---|---|
| string | path | The target path. |
| Type | Description |
|---|---|
| object | The enum value specified by |
Gets an enumeration value specified by a path.
public T GetEnum<T>(string path, T defaultValue)
Public Function GetEnum(Of T)(path As String, defaultValue As T) As T
| Type | Name | Description |
|---|---|---|
| string | path | The target path. |
| T | defaultValue | Used if value at specified path does not exist. |
| Type | Description |
|---|---|
| T | The enum value specified by |
| Name | Description |
|---|---|
| T |