GetAttributeNames Method

Measurement Studio User Interface

GetAttributeNames Method

Syntax

CWData.GetAttributeNames ()

Return Type

Variant

Attribute names.

Purpose

Returns the names of the attributes on the CWData object.

Remarks

Returns a VARIANT that contains an array of strings. The array could be empty if there are no attributes on the CWData object.

Example

'Print the names of the attributes
v = CWDataSocket1.Data.GetAttributeNames
for i = lbound(v) to ubound(v)
  text1.text = text1.text + " " + v(i)
next i

See Also

GetAttribute

HasAttribute

DeleteAttribute

SetAttribute