Returns the value for the attribute with the specified LocalName and NamespaceURI.
[Visual Basic] Overloads Overridable Public Function GetAttribute( _ ByVal localName As String, _ ByVal namespaceURI As String _ ) As String [C#] public virtual string GetAttribute( string localName, string namespaceURI ); [C++] public: virtual String* GetAttribute( String* localName, String* namespaceURI ); [JScript] public function GetAttribute( localName : String, namespaceURI : String ) : String;
The value of the specified XmlAttribute as a string. Empty string is returned if that attribute does not have a specified or default value.
XmlElement Class | XmlElement Members | System.NewXml Namespace | XmlElement.GetAttribute Overload List