NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlElement.GetAttribute (String, String)

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;

Parameters

localName
LocalName of the attribute to retrieve.
namespaceURI
NamespaceURI of the attribute to retrieve.

Return Value

The value of the specified XmlAttribute as a string. Empty string is returned if that attribute does not have a specified or default value.

See Also

XmlElement Class | XmlElement Members | System.NewXml Namespace | XmlElement.GetAttribute Overload List