共用方式為


DisplayPropertyCollection Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Describes a collection of DisplayProperty objects. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class DisplayPropertyCollection _
    Inherits KeyedCollection(Of String, DisplayProperty)
'Usage
Dim instance As DisplayPropertyCollection
public sealed class DisplayPropertyCollection : KeyedCollection<string, DisplayProperty>
public ref class DisplayPropertyCollection sealed : public KeyedCollection<String^, DisplayProperty^>
public final class DisplayPropertyCollection extends KeyedCollection<String, DisplayProperty>

Remarks

This class is based on the generic collection. It has a strongly-typed indexer and enforces uniqueness of items. Key of this collection is Name which should be unique across all DisplayProperty in objects the same DisplayTemplate.

Inheritance Hierarchy

System..::.Object
  System.Collections.ObjectModel..::.Collection<(Of <(DisplayProperty>)>)
    System.Collections.ObjectModel..::.KeyedCollection<(Of <(String, DisplayProperty>)>)
      Microsoft.CommerceServer.Marketing..::.DisplayPropertyCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DisplayPropertyCollection Members

Microsoft.CommerceServer.Marketing Namespace