IsDBNull(OracleConnection, object, int)
This method indicates whether or not the attribute being retrieved, specified by OracleConnection, UDT, and attribute index, is NULL.
Declaration
// C# public static bool IsDBNull(OracleConnection con, object Udt, int attrIndex);
Parameters
-
conAn
OracleConnectioninstance. -
pUdtAn Oracle UDT
object. -
attrIndexThe zero-based index of the attribute.
Return Value
True if the specified attribute is NULL; otherwise, false.
Exceptions
ArgumentOutOfRangeException - The specified index is not a valid attribute index
Remarks
This method is invoked from the IOracleCustomType.ToCustomObject method. The con and Udt parameter is passed from the IOracleCustomType.ToCustomObject method to the OracleUdt.IsDBNull method.