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

Reads attribute at specified path.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public virtual float GetAttribute(
	float defaultValue,
	string attribute,
	params Object[] nodes
)
Public Overridable Function GetAttribute ( _
	defaultValue As Single, _
	attribute As String, _
	ParamArray nodes As Object() _
) As Single
public:
virtual float GetAttribute(
	float defaultValue, 
	String^ attribute, 
	... array<Object^>^ nodes
)

Parameters

defaultValue
Single
Default value if element is not found.
attribute
String
Attribute name.
nodes
array< Object >[]()[]
Element path

Return Value

Single containing read value or default value.

Implements

ISettings..::.GetAttribute(Single, String, array<Object>[]()[])

See Also