AGI STK Objects 11Send 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 
[C#]
public IAgDrDataSet GetDataSetByName(
    string DataSetName
);
[Managed C++]
public: IAgDrDataSet^ GetDataSetByName(
    String __gc ^ DataSetName
);
[Java]
public IAgDrDataSet getDataSetByName(
    String DataSetName
);
[Unmanaged C++]
public: HRESULT GetDataSetByName(
    BSTR DataSetName,
    IAgDrDataSet ** ppRetVal
);

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

© 2019 Analytical Graphics, Inc. All Rights Reserved.