ResultProductGetValue Method (String, String)A Sandcastle Documented Class Library
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: 4.0.0
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: String
The 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

Reference