Compartilhar via


IFilePathCaseResolver.TryResolve(String, FileEntityKind, String) Method

Definition

Try to resolve the case of a given path.

public:
 bool TryResolve(System::String ^ fullPath, Microsoft::VisualStudio::Shell::Internal::FileEnumerationService::FileEntityKind kind, [Runtime::InteropServices::Out] System::String ^ % resolvedFullPath);
public bool TryResolve (string fullPath, Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntityKind kind, out string resolvedFullPath);
abstract member TryResolve : string * Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntityKind * string -> bool
Public Function TryResolve (fullPath As String, kind As FileEntityKind, ByRef resolvedFullPath As String) As Boolean

Parameters

fullPath
String

The case insensitive full path to solve.

kind
FileEntityKind

Defines what kind of entry on the hard drive map this path (file? folder?).

resolvedFullPath
String

If succeed, provides the case sensitive full path.

Returns

Returnes True if it detected the case sensitive path successfully.

Remarks

When this method is called, it is not guarantee that the entry exists on the hard drive.

Applies to