AGI STK Objects 11 Send comments on this topic.
ExecSingle Method (IAgDataPrvTimeVar)
See Also  Example
SingleTime
A time value.





Description

Computes the data given a single Time. SingleTime uses DateFormat Dimension.

Syntax

[Visual Basic .NET]
Public Function ExecSingle( _
   ByVal SingleTime As System.Object _
) As IAgDrResult

[C#]
public IAgDrResult ExecSingle(
System.Object SingleTime
);

[Managed C++]
public: IAgDrResult^ ExecSingle(
VARIANT SingleTime
);

[Java]
public IAgDrResult execSingle(
Variant SingleTime
);

[Unmanaged C++]
public: HRESULT ExecSingle(
VARIANT SingleTime,
IAgDrResult ** ReturnValue
);

Parameters

SingleTime
A time value.

Return Type

IAgDrResult.

Remarks

This is the same as specifying Exec(12, 12);

Example

Execute a time dependent data provider and returning all elements for a single time
[C#] Copy Code
IAgDataPrvTimeVar dp = satellite.DataProviders["Precision Passes"as IAgDataPrvTimeVar; 
IAgDrResult resInfo = dp.ExecSingle("1 Jan 2012 12:00:00.000"); 
 

Execute a time dependent data provider and returning all elements for a single time
[Visual Basic .NET] Copy Code
Dim dp As IAgDataPrvTimeVar = TryCast(satellite.DataProviders("Precision Passes"), IAgDataPrvTimeVar)
Dim resInfo As IAgDrResult = dp.ExecSingle("1 Jan 2012 12:00:00.000")

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1