Find attribute by name in an XML element
[Visual Basic] Public Function Attribute( _ ByVal name As String _ ) As String [C#] public string Attribute( string name ); [C++] public: String* Attribute( String* name ); [JScript] public function Attribute( name : String ) : String;
Value associated with the named attribute, or NULL if none exists.
For example, with XML as follows, Attribute("B") would be "456".
<thetag A=123 B=456 C=789>text</thetag>
SecurityElement Class | SecurityElement Members | System.Security Namespace