Label Method (DioFile)

Applies To

All

Purpose

Returns or sets the label in the label array.

Syntax

[sLabel = ]Object.Label (nIndex)

Or

Object.Label (dwIndex, sLabel)

 

The Label method syntax has the following parts:

Name

Type

Description

Object

DioFile

DioFile object

dwIndex

DWORD

Index of the label in the array.

SLabel

String

The DIO file authors' name.

Comments

The label array index is zero based; if the array is empty then index 0 will return NULL.

Getting an index that is out of range then sLabewill be NULL. Setting a label with an index that is out of range will add the new element to the array.

The Labels property returns the total number of labels in the array.

 

See Also

Label, Labels, SetLabel