[This is preliminary documentation and is subject to change.]

Reads element at specified path. Element is created if not exist.

Namespace:  Phoenix.Configuration
Assembly:  PhoenixShared (in PhoenixShared.dll) Version: 0.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public virtual T GetEnumElement<T>(
	T defaultValue,
	params Object[] nodes
)
Public Overridable Function GetEnumElement(Of T) ( _
	defaultValue As T, _
	ParamArray nodes As Object() _
) As T
public:
generic<typename T>
virtual T GetEnumElement(
	T defaultValue, 
	... array<Object^>^ nodes
)

Parameters

defaultValue
T
Default value if element is not found.
nodes
array< Object >[]()[]
Element path.

Type Parameters

T
Enum type which should be read.

Return Value

T containing read value or default value.

See Also