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!

SecurityElement.Attribute

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;

Parameters

name
name of attribute

Return Value

Value associated with the named attribute, or NULL if none exists.

Remarks

For example, with XML as follows, Attribute("B") would be "456".

<thetag A=123 B=456 C=789>text</thetag>

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace