Share via


IsolatedWindowsHostMessenger.GetFileId(String) Metodo

Definizione

Deprecato. Ottiene un identificatore univoco del file aperto nell'ambiente Windows isolato.

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

Parametri

filePath
String

Platform::String

winrt::hstring

Percorso del file nell'host.

Restituisce

Guid

Platform::Guid

winrt::guid

Guid

Attributi

Commenti

Avviso

Si tratta di un'API deprecata.

Si applica a