Partager via


IsolatedWindowsHostMessenger.GetFileId(String) Méthode

Définition

Action déconseillée. Obtient un identificateur unique du fichier ouvert dans l’environnement Windows isolé.

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

Paramètres

filePath
String

Platform::String

winrt::hstring

Chemin du fichier sur l’hôte.

Retours

Guid

Platform::Guid

winrt::guid

Guid

Attributs

Remarques

Avertissement

Il s’agit d’une API déconseillée.

S’applique à