Convenience routine to get an Integer-valued attribute.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual int GetIntegerAttribute(
	string name,
	int defaultValue
)
Visual Basic (Declaration)
Public Overridable Function GetIntegerAttribute ( _
	name As String, _
	defaultValue As Integer _
) As Integer
Visual C++
public:
virtual int GetIntegerAttribute(
	String^ name, 
	int defaultValue
)

Parameters

name
Type: System..::.String
A String which contains the name of the attribute to be assessed.
defaultValue
Type: System..::.Int32
An int specifying the default value of the attribute.

Return Value

An int containing the attribute value.

Remarks

The value of an attribute is returned if it is defined and its value is of type int. Otherwise the defaultValue is returned.

See Also