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