AGI STK Objects 11 Send comments on this topic.
Add Method (IAgIntervalCollection)
See Also 
Start
The start time.
Stop
The stop time.





Description

Adds an interval to the collection and returns the index. Start/Stop use DateFormat Dimension.

Syntax

[Visual Basic .NET]
Public Function Add( _
   ByVal Start As System.Object, _
   ByVal Stop As System.Object _
) As Integer

[C#]
public int Add(
System.Object Start,
System.Object Stop
);

[Managed C++]
public: int Add(
VARIANT Start,
VARIANT Stop
);

[Java]
public int add(
Variant Start,
Variant Stop
);

[Unmanaged C++]
public: HRESULT Add(
VARIANT Start,
VARIANT Stop,
long * ReturnValue
);

Parameters

Start
The start time.
Stop
The stop time.

Return Type

The index of where it was added.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1