共用方式為


IsolatedWindowsEnvironmentOptions.WindowAnnotationOverride 屬性

定義

已取代。 字串,設定要針對 [隔離的 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

屬性值

String

Platform::String

winrt::hstring

WindowAnnotationOverride 的字串

屬性

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (已於 v3.0 引進)

備註

警告

這是已被取代的 API。

WindowAnnotationOverride 會變更將附加至隔離 Windows 環境視窗視窗標題的字串值。 根據預設,此批注會設定為 「in 應用程式防護」。

適用於