IsolatedWindowsEnvironmentFile.HostPath 属性

定义

已弃用。 获取文件的完整主机路径。

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

属性值

String

Platform::String

winrt::hstring

主机路径的字符串。

属性

注解

警告

这是一个已弃用的 API。

适用于