Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetRowValueFromXmlText()

static void System.Xml.XmlDataDocument.SetRowValueFromXmlText ( DataRow row,
DataColumn col,
string xmlText )
inlinestaticpackage

Definition at line 1935 of file XmlDataDocument.cs.

1936 {
1937 object obj;
1938 try
1939 {
1940 obj = col.ConvertXmlToObject(xmlText);
1941 }
1942 catch (Exception e) when (ADP.IsCatchableExceptionType(e))
1943 {
1945 return;
1946 }
1947 if (!obj.Equals(row[col]))
1948 {
1949 row[col] = obj;
1950 }
1951 }
static bool IsCatchableExceptionType(Exception e)
Definition ADP.cs:790
static void SetRowValueToNull(DataRow row, DataColumn col)

References System.Xml.Dictionary, System.Data.Common.ADP.IsCatchableExceptionType(), System.obj, and System.Xml.XmlDataDocument.SetRowValueToNull().

Referenced by System.Xml.XmlDataDocument.SynchronizeRowFromRowElementEx().