Kopīgot, izmantojot


Item Property

Gets a SiteTermElement from the current collection, based upon the specified name.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    nameOrValue As String _
) As SiteTermElement
'Usage
Dim instance As SiteTermElementCollection
Dim nameOrValue As String
Dim value As SiteTermElement

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Profiles..::.SiteTermElement
The SiteTermElement from the collection based on the name.

Remarks

Retrieves a SiteTermElement from the current collection with the specified name.

This method will first attempt to locate the SiteTermElement by name and then, if the name is not found, it will attempt to locate it by value.

Permissions

See Also

Reference

SiteTermElementCollection Class

SiteTermElementCollection Members

Microsoft.CommerceServer.Runtime.Profiles Namespace