https://learn.microsoft.com/ru-ru/dotnet/api/system.xml.xmlattributecollection.system-collections-icollection-syncroot?view=netframework-4.8.1&viewFallbackFrom=net-10.0
XmlAttributeCollection.ICollection.SyncRoot Property (System.Xml) | Microsoft Learn
For a description of this member, see ICollection.SyncRoot.
property systemicollectionxmlmicrosoftlearn
https://learn.microsoft.com/ru-ru/dotnet/api/system.xml.xmlattributecollection.removeall?view=netframework-4.8.1&viewFallbackFrom=net-10.0
XmlAttributeCollection.RemoveAll Method (System.Xml) | Microsoft Learn
Removes all attributes from the collection.
removeallmethodsystemxmlmicrosoft