System.Xml.XmlDataDocument.SetRowValueToNull C# (CSharp) Méthode

SetRowValueToNull() static private méthode

static private SetRowValueToNull ( DataRow row, DataColumn col ) : void
row DataRow
col DataColumn
Résultat void
        internal static void SetRowValueToNull(DataRow row, DataColumn col)
        {
            Debug.Assert(col.ColumnMapping != MappingType.Hidden);

            if (!(row.IsNull(col)))
            {
                row[col] = DBNull.Value;
            }
        }
XmlDataDocument