Constructs and returns a URL by selecting an AggregateRecord on the AggregateRecordDetailsCommand specified by commandId based on the AggregateRecord specified by oAggregateRecord. Note that this method assumes that you have set aggregation and navigation information on the AggregateRecordDetailsDataSource yourself before calling this method. Use a different overload of this method if you want to get the aggregation key from a navigation data source as part of this method call.

Namespace:  Endeca.Web.Url
Assembly:  Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public string SelectAggregateRecord(
	string commandID,
	Object oAggregateRecord,
	Action<NameValueCollection> parametersAction
)
Visual Basic (Declaration)
Public Function SelectAggregateRecord ( _
	commandID As String, _
	oAggregateRecord As Object, _
	parametersAction As Action(Of NameValueCollection) _
) As String
Visual C++
public:
String^ SelectAggregateRecord(
	String^ commandID, 
	Object^ oAggregateRecord, 
	Action<NameValueCollection^>^ parametersAction
)

Parameters

commandID
Type: System..::.String
ID of the AggregateRecordDetailsCommand or AggregateRecordDetailsDataSource to copy.
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

ExceptionCondition
System..::.ArgumentException if commandID is null or empty, or if oAggregateRecord is null or is not a AggregateRecord instance.

See Also