Product.GetAttributeValue(String) Method

Definition

Gets the specified attribute value of the current product.

public:
 System::String ^ GetAttributeValue(System::String ^ attribute);
public string GetAttributeValue (string attribute);
member this.GetAttributeValue : string -> string
Public Function GetAttributeValue (attribute As String) As String

Parameters

attribute
String

The name of the attribute to return.

Returns

A string that contains the value of the specified attribute. Returns null (Nothing in Visual Basic) if the specified attribute does not exist.

Applies to