Share via


Count Property

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

Gets the count of the number of ContentSelectionContext elements in the ContentSelectionContextCollection collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As ContentSelectionContextCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
public final function get Count () : int

Property Value

Type: System..::.Int32
The number of elements contained within the ContentSelectionContextCollection.

Implements

ICollection..::.Count

Remarks

Returns the dictionary count contained within the ContentSelectionContextCollection.

Permissions

See Also

Reference

ContentSelectionContextCollection Class

ContentSelectionContextCollection Members

Microsoft.CommerceServer.Runtime.Targeting Namespace