Share via


ContentSelector.Profiles Property (BCL)

The Profiles property is a read-only TargetingProfileCollection object that gets the collection of profiles (Profiles or Commerce.IDictionary objects) that should be targeted when the GetContent method call is made.

Definition

[Visual Basic .NET]

Public ReadOnly Property Profiles As TargetingProfileCollection

[C#]

public TargetingProfileCollection Profiles{get;} 

Property Value

The collection of profiles (Profile or Commerce.IDictionary objects) that should be targeted when the GetContent method call is made.

Remarks

Only the TargetingContext and User profiles are supported. An exception will be raised if any other profiles are added to the collection.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Code to Display Targeted Advertisements on an ASP.NET Web Form

Copyright © 2005 Microsoft Corporation.
All rights reserved.