Write / Read
About Cal Sets

Name Property


Description

Sets or returns the Name of the Cal Set.

VB Syntax

CalSet.Name = value

Variable

(Type) - Description

CalSet

(object) -  A Cal Set object

value

(string) - Name of the Cal Set.

Return Type

String

Default

Not Applicable

Examples

Dim pna
set pna=CreateObject("AgilentPNA835x.Application")

Dim calsets
set calsets=pna.getcalmanager.calsets

Dim c
for each c in calsets
wscript.echo c.name
'Changes the name of CalSet_1

if c.name="CalSet_1" then c.name="New"
next

C++ Syntax

HRESULT get_Name(BSTR *name)

HRESULT put_Name(BSTR name);

Interface

ICalSet4