NUnitAsp

HtmlTagTester.Child Method 

Returns the only child (of a particular type) of this tag. If this tag has more that one child of the requested type, or if it has no children of the requested type, this method will throw an exception. Don't cache the results of this call.

public HtmlTagTester Child(
   string tag
);

Parameters

tag
The type of tag to look for. Don't include angle brackets.

See Also

HtmlTagTester Class | NUnit.Extensions.Asp Namespace