Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Prefix
string
System.Data.DataColumn.Prefix
get
set
Definition at line
346
of file
DataColumn.cs
.
347
{
348
get
349
{
350
return
_columnPrefix
;
351
}
352
[
param
:
AllowNull
]
353
set
354
{
355
if
(
value
==
null
)
356
{
357
value
=
string
.Empty;
358
}
359
DataCommonEventSource.Log.Trace(
"<ds.DataColumn.set_Prefix|API> {0}, '{1}'"
,
ObjectID
,
value
);
360
if
(
XmlConvert
.
DecodeName
(
value
) ==
value
&&
XmlConvert
.
EncodeName
(
value
) !=
value
)
361
{
362
throw
ExceptionBuilder.InvalidPrefix(
value
);
363
}
364
_columnPrefix
=
value
;
365
}
366
}
System.Data.DataColumn.ObjectID
int ObjectID
Definition
DataColumn.cs:343
System.Data.DataColumn._columnPrefix
string _columnPrefix
Definition
DataColumn.cs:82
System.Xml.XmlConvert.EncodeName
static ? string EncodeName(string? name)
Definition
XmlConvert.cs:37
System.Xml.XmlConvert.DecodeName
static ? string DecodeName(string? name)
Definition
XmlConvert.cs:55
System.Xml.XmlConvert
Definition
XmlConvert.cs:11
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
System
Data
DataColumn
Generated by
1.10.0