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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.