SilverlightAppFinderGetSilverlightAppIndex Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Finds the index into the SilverlightApp array of the specified plugin

Namespace:  ArtOfTest.WebAii.Silverlight
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public static int GetSilverlightAppIndex(
	this Browser browser,
	HtmlControl plugin
)

Parameters

browser
Type: ArtOfTest.WebAii.CoreBrowser
The containing Browser
plugin
Type: ArtOfTest.WebAii.Controls.HtmlControlsHtmlControl
The Silverlight plugin object of which we're looking up the index

Return Value

Type: Int32
The index of the specified plugin in the browser's SilverlightApps list, or -1 if not found

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Browser. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference