System.Xml.XmlAttributeCollection.RemoveAt C# (CSharp) Méthode

RemoveAt() public méthode

public RemoveAt ( int i ) : XmlAttribute
i int
Résultat XmlAttribute
        public XmlAttribute RemoveAt( int i ) {
            if (i < 0 || i >= Count || nodes == null)
                return null;

            return(XmlAttribute) RemoveNodeAt( i );
        }

Usage Example

Exemple #1
0
 // Removes the attribute node with the specified index from the attribute collection.
 public virtual XmlNode RemoveAttributeAt(int i)
 {
     if (HasAttributes)
     {
         return(_attributes.RemoveAt(i));
     }
     return(null);
 }
All Usage Examples Of System.Xml.XmlAttributeCollection::RemoveAt