| ibi Patterns - Search 6.0.0 .NET API |
| NetricsPredicateMapper.setDataNames Method (Generic List, Generic List) |
| See AlsoExample |
![]()
|
Update the data item name mappings.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function setDataNames( _ ByVal original_names As List(Of String), _ ByVal new_names As List(Of String) _ ) As NetricsPredicateMapper |
| C# |
|---|
| public NetricsPredicateMapper setDataNames( List<string> original_names, List<string> new_names ) |
| C++ |
|---|
| public: NetricsPredicateMapper setDataNames( List<string> original_names, List<string> new_names ) sealed |
| J# |
|---|
| public NetricsPredicateMapper setDataNames( List<string> original_names, List<string> new_names ) |
| JScript |
|---|
| public
function setDataNames( original_names : List<string>, new_names : List<string> ) : NetricsPredicateMapper |
Parameters
- original_names
- a list of the original data item names.
- new_names
- a list of the new names. The names must be in the same position in the list as the associated original name in the original_names list.
Return Value
This object for method chaining.
Exceptions
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if either argument is null, or the two lists have different lengths. |
Remarks
This remaps the data item names in the predicate expression. This entirely replaces any previous data item mappings applied. This method takes in the mappings as a list of the original names, and a corresponding list of the new names.