Compartilhar via


IsolatedWindowsHostMessenger.GetFileId(String) Método

Definição

Preterido. Obtém um identificador exclusivo do arquivo aberto no Ambiente Isolado do 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

Parâmetros

filePath
String

Platform::String

winrt::hstring

Caminho do arquivo no host.

Retornos

Guid

Platform::Guid

winrt::guid

Guid

Atributos

Comentários

Aviso

Essa é uma API preterida.

Aplica-se a