Base:
property
Attributes
System.Xml.XmlNode.Attributes
1 override of Attributes
System.Data (1)
fx\src\data\System\NewXml\XmlBoundElement.cs (1)
31public override XmlAttributeCollection Attributes {
146 references to Attributes
PresentationFramework (4)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (4)
514if (content.Attributes[BackgroundAttributeName] != null) 515backgroundColor = GetColor(content.Attributes[BackgroundAttributeName].Value); 516if (content.Attributes[ActiveBackgroundAttributeName] != null) 517activeBackgroundColor = GetColor(content.Attributes[ActiveBackgroundAttributeName].Value);
System.Data (16)
fx\src\data\System\Data\XDRSchema.cs (9)
332if (node.Attributes.Count > 0) { 419SetProperties(column, node.Attributes); // xmlschema.SetProperties will skipp setting expressions 426if (node.Attributes != null) { 427for (int i = 0; i < node.Attributes.Count; i++) { 428if (node.Attributes[i].NamespaceURI == Keywords.MSDNS) { 429if (node.Attributes[i].LocalName == "Expression"){ 430column.Expression = node.Attributes[i].Value; 534XmlAttributeCollection attrs = node.Attributes; 619XmlAttributeCollection attrs = node.Attributes;
fx\src\data\System\Data\XmlDataLoader.cs (3)
415foreach( XmlAttribute attr in rowElement.Attributes ) { 512foreach( XmlAttribute attr in topMostNode.Attributes ) { 686foreach( XmlAttribute attr in topMostNode.Attributes ) {
fx\src\data\System\Data\XMLSchema.cs (1)
440SetExtProperties(relation, node.Attributes);
fx\src\data\System\NewXml\XmlBoundElement.cs (1)
34return base.Attributes;
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1336attr.OwnerElement.Attributes.Remove( attr );
fx\src\data\System\NewXml\XPathNodePointer.cs (1)
614XmlAttributeCollection attrs = ((XmlAttribute)_node).OwnerElement.Attributes;
System.IdentityModel (15)
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (6)
79var thumbprintAttribute = childElement.Attributes.GetNamedItem(ConfigurationStrings.Thumbprint); 80var nameAttribute = childElement.Attributes.GetNamedItem(ConfigurationStrings.Name); 82if (childElement.Attributes.Count > 2 || thumbprintAttribute == null) 99if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.Equals(childElement.Attributes[0].LocalName, ConfigurationStrings.Thumbprint)) 108string thumbprint = childElement.Attributes.GetNamedItem(ConfigurationStrings.Thumbprint).Value;
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (7)
67foreach (XmlAttribute attribute in element.Attributes) 177if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.Equals(childElement.Attributes[0].LocalName, ConfigurationStrings.Value)) 181this.NameClaimType = childElement.Attributes[0].Value; 185if (childElement.Attributes.Count != 1 || !StringComparer.Ordinal.Equals(childElement.Attributes[0].LocalName, ConfigurationStrings.Value)) 189this.RoleClaimType = childElement.Attributes[0].Value;
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
119foreach (XmlAttribute attribute in customConfigElement.Attributes)
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
119foreach (XmlAttribute attribute in customConfigElement.Attributes)
System.Runtime.Serialization (14)
System\Runtime\Serialization\SchemaExporter.cs (7)
231defaultValueElement.Attributes.Append(emitDefaultValueAttribute); 247actualTypeElement.Attributes.Append(nameAttribute); 251actualTypeElement.Attributes.Append(nsAttribute); 305typeElement.Attributes.Append(nameAttribute); 309typeElement.Attributes.Append(nsAttribute); 324argumentElement.Attributes.Append(nestedLevelAttribute); 334typeElement.Attributes.Append(typeNestedLevelsAttribute);
System\Runtime\Serialization\SchemaImporter.cs (7)
1039XmlNode emitDefaultValueAttribute = defaultValueElement.Attributes.GetNamedItem(Globals.EmitDefaultValueAttribute); 1052XmlNode nameAttribute = actualTypeElement.Attributes.GetNamedItem(Globals.ActualTypeNameAttribute); 1056XmlNode nsAttribute = actualTypeElement.Attributes.GetNamedItem(Globals.ActualTypeNamespaceAttribute); 1298XmlNode nameAttribute = typeElement.Attributes.GetNamedItem(Globals.GenericNameAttribute); 1302XmlNode nsAttribute = typeElement.Attributes.GetNamedItem(Globals.GenericNamespaceAttribute); 1319XmlNode nestedLevelAttribute = argumentElement.Attributes.GetNamedItem(Globals.GenericParameterNestedLevelAttribute); 1333XmlNode typeNestedLevelsAttribute = typeElement.Attributes.GetNamedItem(Globals.GenericParameterNestedLevelAttribute);
System.ServiceModel (25)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
66assertion.Attributes.Append(protectionLevelAttribute);
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (2)
382result.Attributes.Append(attr); 391result.Attributes.Append(attrLegacy);
System\ServiceModel\Description\SoapHelper.cs (3)
116fault.Attributes.Append(CreateLocalAttribute("name", name)); 117fault.Attributes.Append(CreateLocalAttribute("use", isEncoded ? "encoded" : "literal")); 394foreach (XmlAttribute attribute in src.Attributes)
System\ServiceModel\Description\WsdlExporter.cs (1)
818policyReferenceElement.Attributes.Append(uriAttribute);
System\ServiceModel\Description\WsdlHelper.cs (2)
160XmlNode policyId = policyElement.Attributes.GetNamedItem(MetadataStrings.Wsu.Attributes.Id, MetadataStrings.Wsu.NamespaceUri); 198XmlNode policyReference = policyReferenceElement.Attributes.GetNamedItem(MetadataStrings.WSPolicy.Attributes.URI);
System\ServiceModel\Description\WsdlImporter.cs (5)
1341wsdlBindingQName = new XmlQualifiedName(policy.Attributes[bindingAttrName].Value, policy.Attributes[bindingAttrNamespace].Value); 1479workaroundElement.Attributes.Append(bindingName); 1483workaroundElement.Attributes.Append(bindingNamespace); 1485workaroundElement.Attributes.Append(bindingNamespace);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (3)
344element.Attributes.Append(attr); 349element.Attributes.Append(attr); 855XmlNode claimType = claimTypeElement.Attributes.GetNamedItem("Uri");
System\ServiceModel\Security\WSTrust.cs (7)
252for (int i = 0; i < rstXml.Attributes.Count; ++i) 254XmlAttribute attr = rstXml.Attributes[i]; 347for (int i = 0; i < rstrXml.Attributes.Count; ++i) 349XmlAttribute attr = rstrXml.Attributes[i]; 848if (elem.Attributes != null) 850for (int i = 0; i < elem.Attributes.Count; ++i) 852XmlAttribute attr = elem.Attributes[i];
System\ServiceModel\Security\WSTrustDec2005.cs (1)
105result.Attributes.Append(dialectAttribute);
System.Web.Extensions (4)
Compilation\WCFModel\SchemaMerger.cs (2)
493if (!CompareXmlAttributeCollections(element1.Attributes, element2.Attributes, out differentAttribute1, out differentAttribute2))
Script\Services\WebServiceTypeData.cs (2)
260XmlNode nameAttribute = actualTypeElement.Attributes.GetNamedItem(ActualTypeNameAttribute); 265XmlNode nsAttribute = actualTypeElement.Attributes.GetNamedItem(ActualTypeNamespaceAttribute);
System.Web.Services (4)
System\Web\Services\Description\ServiceDescription.cs (2)
1558XmlAttribute requiredAttr = element.Attributes["required", ServiceDescription.Namespace]; 1560requiredAttr = element.Attributes["required"];
System\Web\Services\Protocols\SoapServerProtocol.cs (2)
851envelopeElement.Attributes.Append(qnameAttr); 852envelopeElement.Attributes.Append(xmlnsAttr);
System.Windows.Forms (6)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (3)
572XmlAttributeCollection asmIdAttrs = assemblyIdentity.Attributes; 574if (asmIdAttrs.Count == 0 || asmIdAttrs.Count != principal.Attributes.Count) { 950foreach (XmlAttribute attribute in principal.Attributes) {
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (3)
1175XmlAttributeCollection asmIdAttrs = assemblyIdentity.Attributes; 1177if (asmIdAttrs.Count == 0 || asmIdAttrs.Count != principal.Attributes.Count) 1685foreach (XmlAttribute attribute in principal.Attributes)
System.Xml (50)
System\Xml\Dom\DocumentSchemaValidator.cs (4)
169XmlAttributeCollection attrs = elem.Attributes; 304XmlAttributeCollection attributes = elementNode.Attributes; 354XmlAttributeCollection attributes = elementNode.Attributes; 606XmlAttributeCollection attributes = elementNode.Attributes;
System\Xml\Dom\DocumentXmlWriter.cs (2)
360XmlAttributeCollection attrs = elem.Attributes; 424elem.Attributes.Append(attr);
System\Xml\Dom\DocumentXPathNavigator.cs (12)
227XmlAttributeCollection attributes = element.Attributes; 247XmlAttributeCollection attributes = element.Attributes; 270XmlAttributeCollection attributes = element.Attributes; 398attributes = element.Attributes; 407attributes = element.Attributes; 423attributes = element.Attributes; 462attributes = element.Attributes; 557attributes = element.Attributes; 1087XmlAttributeCollection attributes = element.Attributes; 1521XmlAttributeCollection attributes = elements[i].Attributes; 1541ResetAttributePosition(attribute, element.Attributes, out attributeIndex); 1565attributes = element.Attributes;
System\Xml\Dom\XmlAttribute.cs (2)
124return ownerElement.Attributes.PrepareParentInElementIdAttrMap(Prefix, LocalName); 133ownerElement.Attributes.ResetParentInElementIdAttrMap(oldInnerText, InnerText);
System\Xml\Dom\XmlAttributeCollection.cs (1)
284attr.OwnerElement.Attributes.Remove( attr );
System\Xml\Dom\XmlElement.cs (12)
58foreach( XmlAttribute attr in Attributes ) { 62element.Attributes.InternalAppendAttribute( newAttr ); 240Attributes.InternalAppendAttribute( attr ); 250Attributes.RemoveNamedItem(name); 256return Attributes[name]; 264return(XmlAttribute) Attributes.SetNamedItem(newAttr); 270return(XmlAttribute) Attributes.Remove(oldAttr); 299Attributes.InternalAppendAttribute( attr ); 318return Attributes[ localName, namespaceURI ]; 327Attributes.InternalAppendAttribute( attr ); 337Attributes.Remove( attr ); 430XmlAttributeCollection attrs = Attributes;
System\Xml\Dom\XmlLoader.cs (6)
102XmlAttributeCollection attributes = element.Attributes; 415XmlAttributeCollection attributes = element.Attributes; 615foreach( XmlAttribute attr in ((XmlElement)node).Attributes ) { 704XmlAttributeCollection attrs = elem.Attributes; 713elem.Attributes.RemoveNodeAt(i); 727elem.Attributes.RemoveNodeAt(i);
System\Xml\Dom\XmlNode.cs (2)
927XmlAttributeCollection attrs = elem.Attributes; 992XmlAttributeCollection attrs = elem.Attributes;
System\Xml\Dom\XmlNodeReader.cs (8)
295return ((XmlElement)curNode).Attributes.Count; 469return ((XmlElement)curNode).Attributes[attributeIndex].Value; 472return ((XmlElement)elemNode).Attributes[attributeIndex].Value; 567attrIndex = elem.Attributes.FindNodeOffsetNS(attr); 604attr = ((XmlElement)curNode).Attributes[attributeIndex]; 613attr = ((XmlElement)elemNode).Attributes[attributeIndex]; 810XmlAttributeCollection attrs = elem.Attributes; 849XmlAttributeCollection attrs = elem.Attributes;
System\Xml\Schema\Parser.cs (1)
307XmlAttributeCollection attributes = element.Attributes;
WindowsBase (8)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (6)
664reference.Attributes.Append(uriAttr); 678transform.Attributes.Append(algorithmAttr); 729transform.Attributes.Append(algorithmAttr); 761reference.Attributes.Append(uriAttr); 776transform.Attributes.Append(algorithmAttr); 802digestMethod.Attributes.Append(digestAlgorithmAttr);
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (2)
124signatureProperty.Attributes.Append(idAttr); 127signatureProperty.Attributes.Append(targetAttr);