Replaces the parameter tokens in the expression with the values of the parameters supplied.
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
| C# |
|---|
public static string BindParameterValues( string analyticsExpression, EndecaParameterCollection analyticsParameters ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function BindParameterValues ( _ analyticsExpression As String, _ analyticsParameters As EndecaParameterCollection _ ) As String |
| Visual C++ |
|---|
public: static String^ BindParameterValues( String^ analyticsExpression, EndecaParameterCollection^ analyticsParameters ) |
Parameters
- analyticsExpression
- Type: System..::.String
Analytics expression containing parameter tokens.
- analyticsParameters
- Type: Endeca.Data..::.EndecaParameterCollection
A collection of EndecaParameters containing the values that should be substituted for the parameter tokens in analyticsExpression.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | if analyticsExpression or analyticsParameters is null or empty. |
| Endeca.Data..::.InvalidAnalyticsParametersException | if the the wrong number of parameter values were supplied. |