STK ObjectsSend comments on this topic.
GetDataSetByName Method (IAgDrDataSetCollection)
See Also
DataSetName
Windows





Windows & Linux

Description

Returns the element, given the name.

Syntax

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

Parameters

DataSetName

Remarks

If the data set collection spans multiple intervals then the GetDataSetByName method will only get the first intervals dataset. The data sets will have the same name so it will only return the first intervals data set by that name. See the Extract data from IAgDrDataSetCollection across multiple intervals code snippet to see how to access all of the data sets in the result.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.