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





Description

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

Syntax

[Visual Basic .NET]
Public Function GetDataPrvFixedFromPath( _
   ByVal DataProviderPath As String _
) As IAgDataPrvFixed

[C#]
public IAgDataPrvFixed GetDataPrvFixedFromPath(
string DataProviderPath
);

[Managed C++]
public: IAgDataPrvFixed^ GetDataPrvFixedFromPath(
String __gc ^ DataProviderPath
);

[Java]
public IAgDataPrvFixed getDataPrvFixedFromPath(
String DataProviderPath
);

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

Parameters

DataProviderPath

Example

Coarse grain approach to retrieving a fixed data provider
[C#] Copy Code
IAgDataPrvFixed dp = facility.DataProviders.GetDataPrvFixedFromPath("Terrain Info//LocalHorizontal"); 
IAgDrResult result = dp.Exec(); 
 

Coarse grain approach to retrieving a fixed data provider
[Visual Basic .NET] Copy Code
Dim dp As IAgDataPrvFixed = facility.DataProviders.GetDataPrvFixedFromPath("Terrain Info//LocalHorizontal")
Dim result As IAgDrResult = dp.Exec()

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1