Share via


ProductToKitVariantDictionary Class

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Represents a collection of KitLineProductToVariantMaps indexed by the productIds used in the variants.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
<CollectionDataContractAttribute(Name := "ProductToKitVariantDictionary", ItemName := "Entry",  _
    KeyName := "KitLineProductId", ValueName := "ComponentKitVariantSet")> _
Public NotInheritable Class ProductToKitVariantDictionary _
    Inherits Dictionary(Of Long, ComponentKitVariantSet)
'Usage
Dim instance As ProductToKitVariantDictionary
[CollectionDataContractAttribute(Name = "ProductToKitVariantDictionary", ItemName = "Entry", 
    KeyName = "KitLineProductId", ValueName = "ComponentKitVariantSet")]
public sealed class ProductToKitVariantDictionary : Dictionary<long, ComponentKitVariantSet>
[CollectionDataContractAttribute(Name = L"ProductToKitVariantDictionary", ItemName = L"Entry", 
    KeyName = L"KitLineProductId", ValueName = L"ComponentKitVariantSet")]
public ref class ProductToKitVariantDictionary sealed : public Dictionary<long long, ComponentKitVariantSet^>

Inheritance Hierarchy

System.Object
  System.Collections.Generic.Dictionary<Int64, ComponentKitVariantSet>
    Microsoft.Dynamics.Commerce.Runtime.DataModel.ProductToKitVariantDictionary

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

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace