次の方法で共有


ContentSiteEnvironment.AppWindowId Property

Definition

Gets or sets the ID of the top-level Win32 HWND.

public:
 property WindowId AppWindowId { WindowId get(); void set(WindowId value); };
WindowId AppWindowId();

void AppWindowId(WindowId value);
public WindowId AppWindowId { get; set; }
var windowId = contentSiteEnvironment.appWindowId;
contentSiteEnvironment.appWindowId = windowId;
Public Property AppWindowId As WindowId

Property Value

The ID of the top-level Win32 HWND.

Remarks

This sets the Microsoft.UI.Content.ContentIslandEnvironment.AppWindowId property.

Applies to