Share via


AllContentItems Property

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

Gets a collection of the content items that were retrieved from the cache during the last call to GetContent.

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

Syntax

'Declaration
Public ReadOnly Property AllContentItems As ContentItemCollection
'Usage
Dim instance As ContentSelector
Dim value As ContentItemCollection

value = instance.AllContentItems
public ContentItemCollection AllContentItems { get; }
public:
property ContentItemCollection^ AllContentItems {
    ContentItemCollection^ get ();
}
public function get AllContentItems () : ContentItemCollection

Property Value

Type: Microsoft.CommerceServer.Runtime.Targeting..::.ContentItemCollection
A collection of the content items that were retrieved from the cache during the last call to GetContent.

Remarks

Returns a ContentItemCollection containing all of the content items that were retrieved from the cache during the last call to GetContent. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if GetContent was not called or if no content was retrieved from the cache.

Permissions

See Also

Reference

ContentSelector Class

ContentSelector Members

Microsoft.CommerceServer.Runtime.Targeting Namespace