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

String

属性

注解

警告

这是一个已弃用的 API。

适用于