AbstractChartNodeGetIntegerAttribute Method |
Convenience routine to get an Integer-valued attribute.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual int GetIntegerAttribute(
string name,
int defaultValue
)
Public Overridable Function GetIntegerAttribute (
name As String,
defaultValue As Integer
) As Integer
public:
virtual int GetIntegerAttribute(
String^ name,
int defaultValue
)
abstract GetIntegerAttribute :
name : string *
defaultValue : int -> int
override GetIntegerAttribute :
name : string *
defaultValue : int -> int
Parameters
- name
- Type: SystemString
A String which contains the name of the attribute to be
assessed.
- defaultValue
- Type: SystemInt32
An int specifying the default value of the attribute.
Return Value
Type:
Int32
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