Delen via


BrowserWindow.FromProcess Method

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Shared Function FromProcess ( _
    processToWrap As Process _
) As BrowserWindow
public static BrowserWindow FromProcess(
    Process processToWrap
)
public:
static BrowserWindow^ FromProcess(
    Process^ processToWrap
)
static member FromProcess : 
        processToWrap:Process -> BrowserWindow
public static function FromProcess(
    processToWrap : Process
) : BrowserWindow

Parameters

  • processToWrap
    Type: Process

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow

.NET Framework Security

See Also

Reference

BrowserWindow Class

Microsoft.VisualStudio.TestTools.UITesting Namespace