共用方式為


IsolatedWindowsEnvironmentOptions.SharedFolderNameInEnvironment 屬性

定義

已取代。 藉由呼叫 ShareHostFolderForUntrustedItems,顯示用來在隔離式 Windows 環境內共用未受信任專案的資料夾名稱。

public:
 property Platform::String ^ SharedFolderNameInEnvironment { Platform::String ^ get(); };
winrt::hstring SharedFolderNameInEnvironment();
/// [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")]
winrt::hstring SharedFolderNameInEnvironment();
public string SharedFolderNameInEnvironment { get; }
public string SharedFolderNameInEnvironment { [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; }
var string = isolatedWindowsEnvironmentOptions.sharedFolderNameInEnvironment;
Public ReadOnly Property SharedFolderNameInEnvironment As String

屬性值

String

Platform::String

winrt::hstring

字串

屬性

備註

警告

這是已被取代的 API。

適用於