Udostępnij za pośrednictwem


ContentSelector Members

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

ContentSelector is the object used to invoke CSF pipelines

The ContentSelector type exposes the following members.

Methods

  Name Description
Aa163214.protmethod(en-US,CS.70).gif CheckState Verifies that the object has not already been disposed.
Aa163214.pubmethod(en-US,CS.70).gif Dispose Overloaded. Use this method to release resources by the ContentSelector object.
Aa163214.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa163214.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa163214.pubmethod(en-US,CS.70).gif GetContent It sets up the Order and Pipe Context dictionaries and executes the CSF pipeline that selects content. The formatted content is returned in a StringCollection.
Aa163214.pubmethod(en-US,CS.70).gif GetEnumerator Retrieves an enumerator that can iterate through the current instance.
Aa163214.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa163214.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa163214.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa163214.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa163214.pubproperty(en-US,CS.70).gif AllContentItems Gets a collection of the content items that were retrieved from the cache during the last call to GetContent.
Aa163214.pubproperty(en-US,CS.70).gif Item Gets or sets a value in the ContentSelector dictionary of name-value pairs.
Aa163214.pubproperty(en-US,CS.70).gif ItemsRequested Gets or sets the maximum number of items desired for return from the GetContent method.
Aa163214.pubproperty(en-US,CS.70).gif Name Gets the name of the ContentSelector, which is the same as the name of the ContentSelectionContext that created this object.
Aa163214.pubproperty(en-US,CS.70).gif PageHistory Gets or sets a string that represents the history of ads already selected on the page.
Aa163214.pubproperty(en-US,CS.70).gif Profiles Gets the collection of profiles (Profiles or Commerce.IDictionary objects) that should be targeted when the GetContent call is made.
Aa163214.pubproperty(en-US,CS.70).gif SelectedContentItems Gets a collection consisting of the raw content items that were last selected using the GetContent method.
Aa163214.pubproperty(en-US,CS.70).gif Size Gets or sets the size of the content that should be returned.
Aa163214.pubproperty(en-US,CS.70).gif TraceMessages Gets an array containing the trace messages that describe the scoring of the content items.
Aa163214.pubproperty(en-US,CS.70).gif TraceMode Gets or sets a value that indicates whether tracing of Content Item scoring should be enabled.

Top

See Also

Reference

ContentSelector Class

Microsoft.CommerceServer.Runtime.Targeting Namespace