Jaa


Item Property (String, String)

Gets the specified DisplayPropertyValue object from the collection, identified by the template name and property name.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    templateName As String, _
    propertyName As String _
) As DisplayPropertyValue
'Usage
Dim instance As DisplayPropertyValueCollection
Dim templateName As String
Dim propertyName As String
Dim value As DisplayPropertyValue

value = instance.Item(templateName, propertyName)
public DisplayPropertyValue Item[
    string templateName,
    string propertyName
] { get; }
public:
property DisplayPropertyValue^ Item[String^ templateName, String^ propertyName] {
    DisplayPropertyValue^ get (String^ templateName, String^ propertyName);
}
JScript does not support indexed properties.

Parameters

  • templateName
    Type: System..::.String
    Name of the template that the property value is assigned to.
  • propertyName
    Type: System..::.String
    Name of the display property that the value is assigned to.

Property Value

Type: Microsoft.CommerceServer.Marketing..::.DisplayPropertyValue
A reference to a specified DisplayPropertyValue object from the DisplayPropertyValueCollection.

Remarks

Returns the DisplayPropertyValue object with the provided template name and property name.

Permissions

See Also

Reference

DisplayPropertyValueCollection Class

DisplayPropertyValueCollection Members

Item Overload

Microsoft.CommerceServer.Marketing Namespace