Get the value of the attribute with the specified attributeName. The specified defaultValue will be returned
if no such attribute exists.
Namespace: Apptus.ESales.Connector
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 3.47.3
Syntax
C#
public string GetValue( string attributeName, string defaultValue )
Parameters
- attributeName
- Type: SystemString
The name of the attribute whose value to retrieve - defaultValue
- Type: SystemString
The value to return if this product doesn't have an attribute with the specified attributeName
Return Value
Type: StringThe attribute value of attribute with the specified attributeName. The supplied defaultValue will be returned if this product has no attribute matching the name
See Also