DataSetsGetBaseWithKey Method |
For unusual use cases, this enables you to access the
DataSetBase objects using the string keys that are
usually managed internally.
Namespace: DegreeDays.Api.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public DataSetBase GetBaseWithKey(
string key
)
Public Function GetBaseWithKey (
key As String
) As DataSetBase
Parameters
- key String
- A non-null, non-empty string key that you expect to be present
in the response, associated with the set of data that you want to
access.
Return Value
DataSetBaseThe non-null
DataSetBase associated with
key
(matching a data specification with key
key from the
original request).
Exceptions Remarks
Usually you'll want the methods that take a DataSpec (or subclass) instead of
this one, but you might need this method if you are:
- generating your XML requests outside of this framework; or
- creating the string keys used by DataSpecs
yourself; or
- testing an XML IResponseParser
that you have written.
See Also