Condividi tramite


GetSelector Method

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

Gets a ContentSelector object that can be used to retrieve content using the current ContentSelectionContext.

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

Syntax

'Declaration
Public Function GetSelector As ContentSelector
'Usage
Dim instance As ContentSelectionContext
Dim returnValue As ContentSelector

returnValue = instance.GetSelector()
public ContentSelector GetSelector()
public:
ContentSelector^ GetSelector()
public function GetSelector() : ContentSelector

Return Value

Type: Microsoft.CommerceServer.Runtime.Targeting..::.ContentSelector
a ContentSelector object that can be used to retrieve content using the current ContentSelectionContext.

Remarks

Gets a ContentSelector object that can be used to retrieve content using the current ContentSelectionContext.

Permissions

See Also

Reference

ContentSelectionContext Class

ContentSelectionContext Members

Microsoft.CommerceServer.Runtime.Targeting Namespace