ModelStateWriterWriteValue Method (String, IEnumerableInt32, Boolean) |
Write parameter array values to current object
Namespace:
DHI.Mike1D.ModelState
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public void WriteValue(
string parameterName,
IEnumerable<int> values,
bool optional = false
)
Public Sub WriteValue (
parameterName As String,
values As IEnumerable(Of Integer),
Optional optional As Boolean = false
)
public:
void WriteValue(
String^ parameterName,
IEnumerable<int>^ values,
bool optional = false
)
Parameters
- parameterName
- Type: SystemString
Name of parameter - values
- Type: System.Collections.GenericIEnumerableInt32
Array of values - optional (Optional)
- Type: SystemBoolean
Flag indicating of the parameter is optional
See Also