BrowserHelper.IsBrowserProcess Method
Determines whether the provided process is an instance of the browser.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Function IsBrowserProcess ( _
process As Process _
) As Boolean
public abstract bool IsBrowserProcess(
Process process
)
public:
virtual bool IsBrowserProcess(
Process^ process
) abstract
abstract IsBrowserProcess :
process:Process -> bool
public abstract function IsBrowserProcess(
process : Process
) : boolean
Parameters
process
Type: ProcessA Process object.
Return Value
Type: Boolean
true if the provided process is an instance of the browser; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.