| ibi Patterns - Search 6.0.0 .NET API |
| NetricsPredicateMapper.setFieldNames Method (Generic List, Generic List) |
| See AlsoExample |
![]()
|
Update the field name mappings. This remaps the field names in the predicate expression. This entirely replaces any previous field mappings applied. This method takes in the mappings as a list of the original names, and a corresponding list of the new names.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function setFieldNames( _ ByVal original_names As List(Of String), _ ByVal new_names As List(Of String) _ ) As NetricsPredicateMapper |
| C# |
|---|
| public NetricsPredicateMapper setFieldNames( List<string> original_names, List<string> new_names ) |
| C++ |
|---|
| public: NetricsPredicateMapper setFieldNames( List<string> original_names, List<string> new_names ) sealed |
| J# |
|---|
| public NetricsPredicateMapper setFieldNames( List<string> original_names, List<string> new_names ) |
| JScript |
|---|
| public
function setFieldNames( original_names : List<string>, new_names : List<string> ) : NetricsPredicateMapper |
Parameters
- original_names
- A list of the original field names.
- new_names
- Alist 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 are different lengths. |