.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Xml Class Summary

Xml::UpdateAttribute

Adds an attribute to the node if it doesn't already exist. Otherwise it updates the existing attribute with the new value.

  Declarations  
    [Visual Basic]
Public Function UpdateAttribute(ByVal String attrName , ByVal String attrValue) As Boolean

[C#]
public bool UpdateAttribute(string attrName , string attrValue);

[C++]
public bool UpdateAttribute(String *attrName , String *attrValue);

[JScript]
public function UpdateAttribute(String attrName , String attrValue) : Boolean
 
  Parameters  
   
attrName
The attribute name.
attrValue
The attribute value.
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.