ibi Patterns - Search 6.0.0 .NET API |
NetricsPredicateMapper.getMappedExpr Method (Generic List, Generic List) |
See AlsoExample |
![]() ![]() |
Get the fully mapped predicate expression.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function getMappedExpr( _ ByVal data_names As List(Of String), _ ByVal data_values As List(Of String) _ ) As String |
C# |
---|
public string getMappedExpr( List<string> data_names, List<string> data_values ) |
C++ |
---|
public: String getMappedExpr( List<string> data_names, List<string> data_values ) sealed |
J# |
---|
public string getMappedExpr( List<string> data_names, List<string> data_values ) |
JScript |
---|
public
function getMappedExpr( data_names : List<string>, data_values : List<string> ) : String |
Parameters
- data_names
- a list of the current data item names.
- data_values
- A list of the data item values. The values must be in the same position in the list as the associated name in the data_names list.
Return Value
The fully mapped predicate expression.
Exceptions
Exception Type | Condition |
---|---|
ArgumentException | if either argument is null, or the two lists have different lengths. |
Remarks
This applies the data value mappings, and the escaping of
values. The returned string has all of the currently defined field name mappings applied. Data items that do not appear in the given lists are assigned the default value.
Data values inserted into predicate string constants have the special characters: &, ", \n and \0 encoded as &, ", and � respectively.