IsolatedWindowsEnvironmentOptions.WindowAnnotationOverride 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
已取代。 字串,設定要針對 [隔離的 Windows 環境] 視窗設定的視窗標題批註值。
public:
property Platform::String ^ WindowAnnotationOverride { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring WindowAnnotationOverride();
void WindowAnnotationOverride(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
winrt::hstring WindowAnnotationOverride();
void WindowAnnotationOverride(winrt::hstring value);
public string WindowAnnotationOverride { get; set; }
public string WindowAnnotationOverride { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] set; }
var string = isolatedWindowsEnvironmentOptions.windowAnnotationOverride;
isolatedWindowsEnvironmentOptions.windowAnnotationOverride = string;
Public Property WindowAnnotationOverride As String
屬性值
WindowAnnotationOverride 的字串
- 屬性
Windows 需求
裝置系列 |
Windows 10, version 2104 (已於 10.0.20348.0 引進)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (已於 v3.0 引進)
|
備註
警告
這是已被取代的 API。
WindowAnnotationOverride 會變更將附加至隔離 Windows 環境視窗視窗標題的字串值。 根據預設,此批注會設定為 「in 應用程式防護」。