Gets a collection of browser elements.
Public Function GetElementsByTagName ( _ tagName As String _ ) As ScriptObjectCollection
Dim instance As HtmlDocument Dim tagName As String Dim returnValue As ScriptObjectCollection returnValue = instance.GetElementsByTagName(tagName)
public ScriptObjectCollection GetElementsByTagName( string tagName )
tagName is an empty string.
tagName is nullNothingnullptra null reference (Nothing in Visual Basic).
An unexpected error occurred.
If no elements that correspond to the requested tag name are found, an empty collection is returned.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.