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

◆ SetColumnError() [1/3]

void System.Data.DataRow.SetColumnError ( DataColumn column,
string? error )
inline

Definition at line 603 of file DataRow.cs.

604 {
606 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataRow.SetColumnError|API> {0}, column={1}, error='{2}'", _objectID, column.ObjectID, error);
607 try
608 {
609 if (_error == null)
610 {
611 _error = new DataError();
612 }
614 {
617 }
618 }
619 finally
620 {
621 DataCommonEventSource.Log.ExitScope(scopeId);
622 }
623 }
void SetColumnError(DataColumn column, string error)
Definition DataError.cs:54
string GetColumnError(int columnIndex)
Definition DataRow.cs:625
DataError _error
Definition DataRow.cs:36
void RowErrorChanged()
Definition DataRow.cs:411
readonly int _objectID
Definition DataRow.cs:44
void CheckColumn(DataColumn column)
Definition DataRow.cs:534

References System.Data.DataRow._error, System.Data.DataRow._objectID, System.Data.DataRow.CheckColumn(), System.Xml.Dictionary, System.Data.DataRow.GetColumnError(), System.Data.DataCommonEventSource.Log, System.Data.DataRow.RowErrorChanged(), and System.Data.DataError.SetColumnError().