IsolatedWindowsEnvironment.Id 属性

定义

已弃用。 返回独立 Windows 环境的 ID。

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment 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 Id();
public string Id { get; }
public string Id { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment 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; }
var string = isolatedWindowsEnvironment.id;
Public ReadOnly Property Id As String

属性值

String

Platform::String

winrt::hstring

ID 字符串。

属性

注解

警告

这是一个已弃用的 API。

适用于