System.Xml.XmlAttributeCollection.RemoveAt C# (CSharp) Method

RemoveAt() public method

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

            return(XmlAttribute) RemoveNodeAt( i );
        }

Usage Example

示例#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