Count Property

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

Gets the count of the number of elements in the ProfilePropertyCollection collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As ProfilePropertyCollection
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 profile properties in the collection.

Implements

ICollection..::.Count

Remarks

Gets the number of ProfileProperty objects contained in the collection.

Permissions

See Also

Reference

ProfilePropertyCollection Class

ProfilePropertyCollection Members

Microsoft.CommerceServer.Runtime.Profiles Namespace