IsolatedWindowsHostMessenger.GetFileId(String) Метод

Определение

Не рекомендуется. Возвращает уникальный идентификатор файла, открытого в изолированной среде Windows.

public:
 static Platform::Guid GetFileId(Platform::String ^ filePath);
 static winrt::guid GetFileId(winrt::hstring const& filePath);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsHostMessenger 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 winrt::guid GetFileId(winrt::hstring const& filePath);
public static Guid GetFileId(string filePath);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsHostMessenger 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 Guid GetFileId(string filePath);
function getFileId(filePath)
Public Shared Function GetFileId (filePath As String) As Guid

Параметры

filePath
String

Platform::String

winrt::hstring

Путь к файлу на узле.

Возвращаемое значение

Guid

Platform::Guid

winrt::guid

Guid

Атрибуты

Комментарии

Предупреждение

Это нерекомендуемый API.

Применяется к