1 override of Attributes
System.Xml (1)
System\Xml\Dom\XmlElement.cs (1)
200public override XmlAttributeCollection Attributes {
133 references to Attributes
ComSvcConfig (2)
EndpointConfigContainer.cs (2)
783if (IsValidVersion(xmlNodeS.Attributes.GetNamedItem("version").Value)) 792string requiredVersion = requiredRuntime.Attributes.GetNamedItem("version").Value;
System.Configuration (1)
System\Configuration\RuntimeConfigurationRecord.cs (1)
200XmlAttributeCollection attributes = xmlNode.Attributes;
System.Data (16)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
744return Configuration(Res.GetString(Res.ConfigUnrecognizedAttributes, node.Attributes[0].Name), node);
fx\src\data\System\Data\Common\DbProviderConfigurationHandler.cs (1)
123XmlNode attribute = node.Attributes.RemoveNamedItem(name);
fx\src\data\System\Data\Common\HandlerBase.cs (2)
31if (0 != node.Attributes.Count) { 46XmlNode attribute = node.Attributes.RemoveNamedItem(name);
fx\src\data\System\Data\XmlDataLoader.cs (3)
120for (int i = 0; i < node.Attributes.Count; i++) { 121XmlAttribute attr = node.Attributes[i]; 122if (!FExcludedNamespace(node.Attributes[i].NamespaceURI))
fx\src\data\System\NewXml\DataPointer.cs (3)
276return node.Attributes.Count; 298XmlNode n = node.Attributes.Item(i); 535n = node.Attributes.GetNamedItem( column.EncodedColumnName, column.Namespace );
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
906newNode.Attributes.Append( (XmlAttribute)CloneTreeInternal(dp) );
fx\src\data\System\NewXml\XPathNodePointer.cs (5)
495foreach ( XmlAttribute attr in _node.Attributes ) { 567Debug.Assert( _node.Attributes != null ); 568XmlNode n = _node.Attributes.GetNamedItem(localName, namespaceURI); 605XmlAttributeCollection attrs = _node.Attributes; 1164n = _node.Attributes.GetNamedItem( _column.EncodedColumnName, _column.Namespace );
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityDesignerUtils.cs (2)
103foreach (XmlAttribute a in propertyNode.Attributes) 108foreach (XmlAttribute a2 in propertyNode.Attributes)
System.Data.Services.Design (4)
System\Data\EntityModel\DataServiceBuildProvider.cs (4)
441string edmxSchemaFileName = node.Attributes["FileName"].Value; 442string metadataType = node.Attributes["MetadataType"].Value; 475XmlAttribute nameAttribute = p.Attributes["Name"]; 476XmlAttribute valueAttribute = p.Attributes["Value"];
System.Runtime.Serialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
625wrapperElement.Attributes.Append(xmlAttr);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
998childNode.Attributes.Append(AddNamespaceDeclaration(attributesInXmlData.XsiTypePrefix, attributesInXmlData.XsiTypeNamespace)); 1000childNode.Attributes.Append(AddNamespaceDeclaration(attributesInXmlData.FactoryTypePrefix, attributesInXmlData.FactoryTypeNamespace)); 1054wrapperElement.Attributes.Append((XmlAttribute)xmlAttributes[i]);
System.ServiceModel (1)
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
244XmlAttribute millisecondsAttribute = wsrmNode.Attributes[ReliableSessionPolicyStrings.Milliseconds];
System.Web (15)
Compilation\PreservationFileReader.cs (2)
183Debug.Assert(dependenciesNode.Attributes.Count == 0); 218Debug.Assert(dependencyNode.Attributes.Count == 0);
Configuration\BrowserDefinition.cs (1)
537XmlAttributeCollection nodeAttributes = child.Attributes;
Configuration\HandlerBase.cs (7)
34XmlNode a = node.Attributes.RemoveNamedItem(attrib); 161XmlAttribute attr = node.Attributes[attrib]; 170if (node.Attributes.Count != 0) { 172SR.GetString(SR.Config_base_unrecognized_attribute, node.Attributes[0].Name), 173node.Attributes[0]); 185XmlNode attribute = node.Attributes.RemoveNamedItem(name); 200XmlNode attribute = node.Attributes.RemoveNamedItem(name);
UI\WebControls\XmlDataSourceNodeDescriptor.cs (2)
82XmlAttributeCollection attrs = _node.Attributes; 138XmlAttributeCollection attrs = node._node.Attributes;
UI\WebControls\XmlHierarchyData.cs (2)
175XmlAttributeCollection attrs = _item.Attributes; 234XmlAttributeCollection attrs = data._item.Attributes;
XmlSiteMapProvider.cs (1)
798foreach (XmlAttribute attribute in xmlNode.Attributes) {
System.Web.DataVisualization (16)
Common\Utilities\XmlSerializer.cs (16)
1498 xmlNode.Attributes.Append(attrib); 1612xmlNode.Attributes.Append(attrib); 1618xmlNode.Attributes.Append(attrib); 1624xmlNode.Attributes.Append(attrib); 1637xmlNode.Attributes.Append(attrib); 1650xmlNode.Attributes.Append(attrib); 1746 xmlParentNode.Attributes.Append(attrib); 1829 (currentNode.Attributes == null || 1830 currentNode.Attributes.Count == 0)) 1842 currentNode.Attributes.Count == 1 && 1843 currentNode.Attributes["_Template_"] != null) 2006 foreach(XmlAttribute attr in xmlParentNode.Attributes) 2029 xmlParentNode.FirstChild.Attributes["_Template_"] != null) 2041 string templateString = childNode.Attributes["_Template_"].Value; 2097if (childNode.Attributes["Name"] != null) 2099itemName = childNode.Attributes["Name"].Value;
System.Web.Mobile (43)
Mobile\ConfigurationSectionHelper.cs (3)
37XmlNode attibuteNode = _currentNode.Attributes.RemoveNamedItem(attributeName); 134if(_currentNode.Attributes.Count != 0) 137_currentNode.Attributes[0].Name);
UI\MobileControls\Design\Util\WebConfigManager.cs (39)
131if (childNode.Attributes["name"] == null || 132childNode.Attributes["name"].Value == null || 133childNode.Attributes["name"].Value.Length == 0) 138String filterName = childNode.Attributes["name"].Value; 263Debug.Assert(_xmlNode.Attributes != null); 265if (_xmlNode.Attributes["type"] != null) 269_xmlNode.Attributes["argument"] == null && _xmlNode.Attributes["compare"] == null, 278_xmlNode.Attributes["type"] == null && _xmlNode.Attributes["method"] == null, 283_name = _xmlNode.Attributes["name"] == null? 284null : _xmlNode.Attributes["name"].Value; 286_compare = _xmlNode.Attributes["compare"] == null? 287null : _xmlNode.Attributes["compare"].Value; 289_argument = _xmlNode.Attributes["argument"] == null? 290null : _xmlNode.Attributes["argument"].Value; 292_type = _xmlNode.Attributes["type"] == null? 293null : _xmlNode.Attributes["type"].Value; 295_method = _xmlNode.Attributes["method"] == null? 296null : _xmlNode.Attributes["method"].Value; 313if (_xmlNode.Attributes["name"] == null) 315_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("name")); 317_xmlNode.Attributes["name"].Value = Name; 323_xmlNode.Attributes.RemoveNamedItem("type"); 324_xmlNode.Attributes.RemoveNamedItem("method"); 326if (_xmlNode.Attributes["compare"] == null) 328_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("compare")); 330_xmlNode.Attributes["compare"].Value = Compare; 332if (_xmlNode.Attributes["argument"] == null) 334_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("argument")); 336_xmlNode.Attributes["argument"].Value = Argument; 343_xmlNode.Attributes.RemoveNamedItem("compare"); 344_xmlNode.Attributes.RemoveNamedItem("argument"); 346if (_xmlNode.Attributes["type"] == null) 348_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("type")); 350_xmlNode.Attributes["type"].Value = Type; 352if (_xmlNode.Attributes["method"] == null) 354_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("method")); 356_xmlNode.Attributes["method"].Value = Method;
UI\MobileControls\MobileControlsSectionHandler.cs (1)
37XmlAttributeCollection attributes = input.Attributes;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (1)
138XmlAttribute attr = node.Attributes[attribute];
System.Windows.Forms.DataVisualization (16)
Common\Utilities\XmlSerializer.cs (16)
1498 xmlNode.Attributes.Append(attrib); 1612xmlNode.Attributes.Append(attrib); 1618xmlNode.Attributes.Append(attrib); 1624xmlNode.Attributes.Append(attrib); 1637xmlNode.Attributes.Append(attrib); 1650xmlNode.Attributes.Append(attrib); 1746 xmlParentNode.Attributes.Append(attrib); 1829 (currentNode.Attributes == null || 1830 currentNode.Attributes.Count == 0)) 1842 currentNode.Attributes.Count == 1 && 1843 currentNode.Attributes["_Template_"] != null) 2006 foreach(XmlAttribute attr in xmlParentNode.Attributes) 2029 xmlParentNode.FirstChild.Attributes["_Template_"] != null) 2041 string templateString = childNode.Attributes["_Template_"].Value; 2097if (childNode.Attributes["Name"] != null) 2099itemName = childNode.Attributes["Name"].Value;
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\Configuration.cs (1)
33XmlAttribute versionAttribute = targetFx.Attributes.GetNamedItem(TargetFxVersionAttribute) as XmlAttribute;
System.Xml (9)
System\Xml\Dom\XmlDocument.cs (4)
856int cAttr = fromElem.Attributes.Count; 858if ( fromElem.Attributes[iAttr].Specified ) 859toElem.Attributes.SetNamedItem( ImportNodeInternal( fromElem.Attributes[iAttr], true ) );
System\Xml\Dom\XmlNodeReader.cs (5)
298return elemNode.Attributes.Count; 632if( attrIndex >= ( elemNode.Attributes.Count-1 ) ) 635curNode = elemNode.Attributes[++attrIndex]; 639if ( curNode.Attributes.Count > 0 ) { 642curNode = curNode.Attributes[0];
WindowsBase (2)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (2)
691relationshipNode.Attributes.Append(idAttr); 700relationshipNode.Attributes.Append(typeAttr);