GetDataSetByPosition Method

Retrieves the Dataset object by position.

Syntax

object.GetDataSetByPosition nDSPosition

Properties

The GetDataSetByPosition method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

nDSPosition

Long. The position of the data set that you want to retrieve from the chart object. Position is 0 based.

Return Value

Object – the dispatch pointer of the Dataset object retrieved by position.

 

Example

Applies To