ActiveDirectoryAuthenticationProvider.SetIWin32WindowFunc(Func<IWin32Window>) Method

Definition

Sets a reference to the current IWin32Window that triggers the browser to be shown. Used to center the browser pop-up onto this window."

public void SetIWin32WindowFunc (Func<System.Windows.Forms.IWin32Window> iWin32WindowFunc);
member this.SetIWin32WindowFunc : Func<System.Windows.Forms.IWin32Window> -> unit
Public Sub SetIWin32WindowFunc (iWin32WindowFunc As Func(Of IWin32Window))

Parameters

iWin32WindowFunc
Func<IWin32Window>

A function to return the current window.

Applies to