[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 int GetElement(
	int defaultValue,
	params Object[] nodes
)
Public Overridable Function GetElement ( _
	defaultValue As Integer, _
	ParamArray nodes As Object() _
) As Integer
public:
virtual int GetElement(
	int defaultValue, 
	... array<Object^>^ nodes
)

Parameters

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

Return Value

Int32 containing read value or default value.

Implements

ISettings..::.GetElement(Int32, array<Object>[]()[])

See Also