Constructs and returns a URL by setting Identifier with the identifier of the specified Record on a copy of the RecordDetailsCommand with the specified ID.

Namespace:  Endeca.Web.Url
Assembly:  Endeca.Web (in Endeca.Web.dll) Version: 2.1.1.0 (2.1.1.620)

Syntax

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

Parameters

commandID
Type: System..::.String
ID of the RecordDetailsCommand or RecordDetailsDataSource to copy.
oRecord
Type: System..::.Object
Record whose identifier should be set on the RecordDetailsCommand.
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 oRecord is null or is not a Record instance.

See Also