STK ObjectsSend comments on this topic.
GetDataPrvInfoFromPath Method (IAgDataProviderCollection)
See Also
DataProviderPath
Windows





Windows & Linux

Description

Returns the data provider information specified by the data provider path.

Syntax

[Visual Basic .NET]
Public Function GetDataPrvInfoFromPath( _
    ByVal DataProviderPath As String _
) As IAgDataProviderInfo
[C#]
public IAgDataProviderInfo GetDataPrvInfoFromPath(
    string DataProviderPath
);
[Managed C++]
public: IAgDataProviderInfo^ GetDataPrvInfoFromPath(
    String __gc ^ DataProviderPath
);
[Unmanaged C++]
public: HRESULT GetDataPrvInfoFromPath(
    BSTR DataProviderPath,
    IAgDataProviderInfo ** ppRetVal
);
[Java]
public IAgDataProviderInfo getDataPrvInfoFromPath(
    String DataProviderPath
);
[Python - STK API ]
def GetDataPrvInfoFromPath(self, DataProviderPath:str) -> "IAgDataProviderInfo":

Parameters

DataProviderPath

See Also

Example

Coarse grain approach to retrieving data provider information
[C#]
// The path separator is //
IAgDataProviderInfo dp = facility.DataProviders.GetDataPrvInfoFromPath("Lighting Times//Sunlight");
string dpiName              = dp.Name;
AgEDataProviderType dpiType = dp.Type;
bool isGroup                = dp.IsGroup();
Coarse grain approach to retrieving data provider information
[Visual Basic .NET]
' The path separator is //
Dim dp As IAgDataProviderInfo = facility.DataProviders.GetDataPrvInfoFromPath("Lighting Times//Sunlight")
Dim dpiName As String = dp.Name
Dim dpiType As AgEDataProviderType = dp.Type
Dim isGroup As Boolean = dp.IsGroup()
© 2024 Analytical Graphics, Inc. All Rights Reserved.