共用方式為


IsolatedWindowsEnvironmentOptions.EnvironmentOwnerId 屬性

定義

已取代。 字串,識別每個已建立隔離 Windows 環境的擁有者。

public:
 property Platform::String ^ EnvironmentOwnerId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring EnvironmentOwnerId();

void EnvironmentOwnerId(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 EnvironmentOwnerId();

void EnvironmentOwnerId(winrt::hstring value);
public string EnvironmentOwnerId { get; set; }
public string EnvironmentOwnerId { [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.environmentOwnerId;
isolatedWindowsEnvironmentOptions.environmentOwnerId = string;
Public Property EnvironmentOwnerId As String

屬性值

String

Platform::String

winrt::hstring

字串

屬性

備註

警告

這是已被取代的 API。

適用於