HasAttribute Method

Measurement Studio User Interface

HasAttribute Method

Syntax

CWData.HasAttribute ( Name)

Return Type

Boolean

Returns True if an attribute exists.

Purpose

Returns True if an attribute exists.

Parameters

Name As Variant

Name of the attribute.

Example

'Check for an attribute
If CWData1.HasAttribute("SampleRate") Then 
   Text1.Text = "Has  attribute"
End If 

See Also

DeleteAttribute

GetAttribute

GetAttributeNames