Constructs and returns a URL by selecting an AggregateRecord on the
AggregateRecordDetailsCommand specified by commandId
based on the NavigationCommand associated with the given navigationDS
and the AggregateRecord specified by oAggregateRecord
Namespace:
Endeca.Web.UrlAssembly: Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
C# |
---|
public string SelectAggregateRecord( string commandID, NavigationDataSource navigationDS, Object oAggregateRecord, Action<NameValueCollection> parametersAction ) |
Visual Basic (Declaration) |
---|
Public Function SelectAggregateRecord ( _ commandID As String, _ navigationDS As NavigationDataSource, _ oAggregateRecord As Object, _ parametersAction As Action(Of NameValueCollection) _ ) As String |
Visual C++ |
---|
public: String^ SelectAggregateRecord( String^ commandID, NavigationDataSource^ navigationDS, Object^ oAggregateRecord, Action<NameValueCollection^>^ parametersAction ) |
Parameters
- commandID
- Type: System..::.String
ID of the AggregateRecordDetailsCommand or AggregateRecordDetailsDataSource to copy.
- navigationDS
- Type: Endeca.Web.UI..::.NavigationDataSource
The NavigationDataSource which provides aggregation information necessary for the AggregateRecordDetailsCommand. This value may not be null. If you set aggregation information and navigation information on the AggregateRecordDetailsDataSource directly, you may call another overload of this method that does not require this parameter.
- oAggregateRecord
- Type: System..::.Object
AggregateRecord which provides the identifier to use in the AggregateRecordDetailsCommand
- parametersAction
- Type: System..::.Action<(Of <(NameValueCollection>)>)
Delegate representing desired changes to the Parameters to include in the URL. May be null.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | if commandID is null or empty, or if oAggregateRecord is null or is not a AggregateRecord instance. |