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