共用方式為


IsolatedWindowsEnvironment.FindByOwnerId(String) 方法

定義

已取代。 傳回向特定擁有者註冊的隔離式 Windows 環境清單。

public:
 static IVectorView<IsolatedWindowsEnvironment ^> ^ FindByOwnerId(Platform::String ^ environmentOwnerId);
 static IVectorView<IsolatedWindowsEnvironment> FindByOwnerId(winrt::hstring const& environmentOwnerId);
/// [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")]
 static IVectorView<IsolatedWindowsEnvironment> FindByOwnerId(winrt::hstring const& environmentOwnerId);
public static IReadOnlyList<IsolatedWindowsEnvironment> FindByOwnerId(string environmentOwnerId);
[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")]
public static IReadOnlyList<IsolatedWindowsEnvironment> FindByOwnerId(string environmentOwnerId);
function findByOwnerId(environmentOwnerId)
Public Shared Function FindByOwnerId (environmentOwnerId As String) As IReadOnlyList(Of IsolatedWindowsEnvironment)

參數

environmentOwnerId
String

Platform::String

winrt::hstring

隔離式 Windows 環境擁有者的唯一標識符。

傳回

IsolatedWindowsEnvironment

屬性

備註

警告

這是已被取代的 API。

適用於