 | SvgAttributeCollectionGetAttributeT Method (String, T) |
imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the attribute with the specified name.
Namespace:
Svg
Assembly:
imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntaxpublic T GetAttribute<T>(
string attributeName,
T defaultValue
)
Request Example
View SourceParameters
- attributeName
- Type: SystemString
A String containing the name of the attribute. - defaultValue
- Type: T
The value to return if a value hasn't already been specified.
Type Parameters
- T
- The type of the attribute value.
Return Value
Type:
TThe attribute value if available; otherwise the default value of
T.
See Also