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

◆ GetElementById()

virtual ? XmlElement System.Xml.XmlDocument.GetElementById ( string elementId)
inlinevirtual

Reimplemented in System.Xml.XmlDataDocument.

Definition at line 1026 of file XmlDocument.cs.

1027 {
1028 if (_htElementIdMap != null)
1029 {
1031 if (arrayList != null)
1032 {
1034 {
1035 if (item.TryGetTarget(out var target) && target.IsConnected())
1036 {
1037 return target;
1038 }
1039 }
1040 }
1041 }
1042 return null;
1043 }

References System.Xml.XmlDocument._htElementIdMap, and System.item.

Referenced by System.Xml.DocumentXPathNavigator.MoveToId().