Click or drag to resize
ResultVariantGetValue Method (String, String)
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.5.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 variant 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 variant has no attribute matching the name
See Also