AGI STK Objects 11 Send comments on this topic.
GetDataSetByName Method (IAgDrDataSetCollection)
See Also 
DataSetName





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
);

[Java]
public IAgDrDataSet getDataSetByName(
String DataSetName
);

[Unmanaged C++]
public: HRESULT GetDataSetByName(
BSTR DataSetName,
IAgDrDataSet ** ReturnValue
);

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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1