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)

Returns the value for the attribute with the specified name.

[Visual Basic]
Overloads Overridable Public Function GetAttribute( _
   ByVal name As String _
) As String
[C#]
public virtual string GetAttribute(
   string name
);
[C++]
public: virtual String* GetAttribute(
   String* name
);
[JScript]
public function GetAttribute(
   name : String
) : String;

Parameters

name
The name 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