src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Return the value of a parameter that is of a character string type.
/// </summary>
///	<param name="parameterName">The name of the parameter.</param>
///	<returns>Returns the value of the parameter as a string.</returns>
Return the value of a parameter that is of a character string type.
Return the value of a parameter that is of a character string type .
public string? GetString(string parameterName)
		{
			try { return (string?)GetValue(parameterName); }
			catch (InvalidCastException ex) { throw new InvalidCastException(string.Format(SR.Type_mismatch_on_parameter, NormalizeParameterName(parameterName)), ex); }
		}
public string ? GetString ( string parameterName ) { try { return ( string ? ) GetValue ( parameterName ) ; } catch ( InvalidCastException ex ) { throw new InvalidCastException ( string . Format ( SR . Type_mismatch_on_parameter , NormalizeParameterName ( parameterName ) ) , ex ) ; } }
Return the value of a parameter that is of a character string type.
Return the value of a parameter that is of a character string type .
Returns the value of the parameter as a string.
Returns the value of the parameter as a string .
parameterName
string
The name of the parameter.
The name of the parameter .