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

Parameters

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

Return Value

Int32 containing read value or default value.

Implements

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

See Also