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 应用程序防护”。

适用于