DataSpecsCustomKeyBuilderAdd Method |
Adds a unique key and the DataSpec to be associated with
it.
Namespace: DegreeDays.Api.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public DataSpecsCustomKeyBuilder Add(
string key,
DataSpec dataSpec
)
Public Function Add (
key As String,
dataSpec As DataSpec
) As DataSpecsCustomKeyBuilder
Parameters
- key String
- A string to be used as the key for
dataSpec in the XML request and response. Cannot be null,
cannot be empty, cannot have more than 60 characters, and cannot contain
characters outside of [-_.a-zA-Z0-9]. (Note that we might expand this set
of allowed characters at some point. Please let us know if you'd like us
to.)
- dataSpec DataSpec
- The non-null DataSpec to be added and associated
with key.
Return Value
DataSpecsCustomKeyBuilderthis, for method chaining.
Exceptions See Also