Partager via


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: Process

    A Process object.

Return Value

Type: Boolean
true if the provided process is an instance of the browser; otherwise, false.

.NET Framework Security

See Also

Reference

BrowserHelper Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

Process