AGI STK Objects 11 Send comments on this topic.
GetDataPrvIntervalFromPath Method (IAgDataProviderCollection)
See Also  Example
DataProviderPath





Description

returns the interval data provider specified by the data provider path.

Syntax

[Visual Basic .NET]
Public Function GetDataPrvIntervalFromPath( _
   ByVal DataProviderPath As String _
) As IAgDataPrvInterval

[C#]
public IAgDataPrvInterval GetDataPrvIntervalFromPath(
string DataProviderPath
);

[Managed C++]
public: IAgDataPrvInterval^ GetDataPrvIntervalFromPath(
String __gc ^ DataProviderPath
);

[Java]
public IAgDataPrvInterval getDataPrvIntervalFromPath(
String DataProviderPath
);

[Unmanaged C++]
public: HRESULT GetDataPrvIntervalFromPath(
BSTR DataProviderPath,
IAgDataPrvInterval ** ReturnValue
);

Parameters

DataProviderPath

Example

Coarse grain approach to retrieving a interval data provider
[C#] Copy Code
IAgDataPrvInterval dp = facility.DataProviders.GetDataPrvIntervalFromPath("Lighting Times//Sunlight"); 
IAgDrResult result = dp.Exec("1 Jan 2012 12:00:00.000""1 Jan 2012 12:00:20.000"); 
 

Coarse grain approach to retrieving a interval data provider
[Visual Basic .NET] Copy Code
Dim dp As IAgDataPrvInterval = facility.DataProviders.GetDataPrvIntervalFromPath("Lighting Times//Sunlight")
Dim result As IAgDrResult = dp.Exec("1 Jan 2012 12:00:00.000", "1 Jan 2012 12:00:20.000")

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1