2021 Method
Changes 0
M

Parameter.SetValueString

Description:
Set the parameter value according to the input string.
Remarks:
The method only applies to parameters of value types.
public bool SetValueString(
	string valueString
)
  • String
    valueString
    The string that represents the parameter value.
Return Value bool Indicates whether the parameter value is successfully set.
public bool SetWithValueString(Parameter foundParameter)
{
    bool result = false;
    if (!foundParameter.IsReadOnly)
    {
        //If successful, the result is true
        result = foundParameter.SetValueString("-22\'3\"");
    }
    return result;
}