Udostępnij za pośrednictwem


ApplicationAdapter.MainWindowHandle Property

Gets or sets the handle for the main window. This property is designated for integration purposes, may not be the same as Process.MainWindowHandle

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As ApplicationAdapter
Dim value As IntPtr

value = instance.MainWindowHandle

instance.MainWindowHandle = value

Syntax

'Declaration
Public Property MainWindowHandle As IntPtr
public IntPtr MainWindowHandle { get; set; }
public:
property IntPtr MainWindowHandle {
    IntPtr get ();
    void set (IntPtr value);
}
/** @property */
public IntPtr get_MainWindowHandle ()

/** @property */
public void set_MainWindowHandle (IntPtr value)
public function get MainWindowHandle () : IntPtr

public function set MainWindowHandle (value : IntPtr)

Property Value

Type: IntPtr

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

ApplicationAdapter Class
ApplicationAdapter Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.