Mike1DDataSetAdditionalData Method |
Set additional data
Namespace:
DHI.Mike1D.Mike1DDataAccess
Assembly:
DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public bool SetAdditionalData(
string key,
Object value
)
Public Function SetAdditionalData (
key As String,
value As Object
) As Boolean
public:
bool SetAdditionalData(
String^ key,
Object^ value
)
Parameters
- key
- Type: SystemString
Identifier/key string of network data - value
- Type: SystemObject
Object containing additional data
Return Value
Type:
BooleanTrue if additional data was added, false if not added because data with the existing key already exists.
Remarks
If storing/loading setup to/from xml, all additional data objects must include
a
DataContractAttribute, otherwise storing/loading will fail.
See Also