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.SearchForChildByTag

Find child by tag name.

[Visual Basic]
Public Function SearchForChildByTag( _
   ByVal tag As String _
) As SecurityElement
[C#]
public SecurityElement SearchForChildByTag(
   string tag
);
[C++]
public: SecurityElement* SearchForChildByTag(
   String* tag
);
[JScript]
public function SearchForChildByTag(
   tag : String
) : SecurityElement;

Parameters

tag
tag to search for in child elements

Return Value

The XML element of the child element with the specified tag value.

Remarks

For example, with XML as follows, SearchForChildByTag("second") would be the child <second> element.

<thetag A=123 B=456 C=789> <first>text1</first> <second>text2</second></thetag>

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace