CNiValuePairs::Swap

NI Measurement Studio CNi

Class
CNiValuePairs::
Swap()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: RemoveAllNext page: CNiValuePairs    
Public Function Declared in:
NiValuepairs.h

'Declaration' icon -- Shortcut to top of page. Declaration

void Swap(
    long element1,
    long element2);

'Description' icon -- Shortcut to top of page. Description

Swaps two value pair elements, altering their indices.

Note: This function is useful on CNiSlide and CNiKnob controls in ValuePairsOnly mode.

Shortcut to top of page. Parameters

long element1

Specifies the index of a value pair to be swapped.

long element2

Specifies the index of a second value pair to be swapped.

'See Also' icon -- Shortcut to top of page. See Also