SetValue(OracleConnection, object, string, object)

This method sets the attribute or elements on the specified Oracle UDT, using the specified attribute name and value.

Declaration

// C#
public static void SetValue(OracleConnection con, object Udt, string attrName,
   object value);

Parameters

Exceptions

ArgumentException - The specified value is not of the appropriate type.

Remarks

The IOracleCustomType.FromCustomObject method invokes OracleUdt.SetValue method passing it the con and Udt parameters. The OracleUdt.SetValue method returns these types of object:

See Also: