ContentIslandEnvironment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides general environment information to a ContentIsland.
[WebHostHidden]
public ref class ContentIslandEnvironment
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ContentIslandEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ContentIslandEnvironment
Public Class ContentIslandEnvironment
- Inheritance
- Attributes
Remarks
Each ContentIsland is associated with a unique ContentIslandEnvironment object that is not shared between multiple ContentIsland objects. However, information contained within a ContentIslandEnvironment, such as AppWindowId, can have the same value between different ContentIsland objects in the same top level window.
Properties
AppWindowId |
Gets the ID of the top-level Win32 HWND. |
DisplayId |
Gets the "metrics authority" monitor ID. |
Events
SettingChanged |
Occurs when settings have changed on this instance. |
StateChanged |
Occurs when properties have changed on this instance. State changes occur immediately, and this event occurs asynchronously afterwards. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應