Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

GetValVariantByOffset Method

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info

Syntax

PropertyObject.GetValVariantByOffset ( arrayOffset, options)

Return Value

Variant

Variant containing the value of the array element. If the element is an empty array, this method returns a variant that contains an array with its bounds set to indicate that it contains no elements, such as [0..-1].

Purpose

Returns the value of the array element specified by the arrayOffset parameter in a variant.

Remarks

This method is only valid for array objects.

Parameters

arrayOffset As Long

[In] A zero-based number representing the offset of an array element in the one-dimensional physical storage of the array. The offset is in terms of the number of elements.

options As Long

[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.


See Also

GetValVariant

PropertyOptions

SetValVariantByOffset


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit