Επεξεργασία

Κοινή χρήση μέσω


FileSystemName.TranslateWin32Expression(String) Method

Definition

Translates the given Win32 expression. Change '*' and '?' to '<', '>' and '"' to match Win32 behavior.

public:
 static System::String ^ TranslateWin32Expression(System::String ^ expression);
public static string TranslateWin32Expression (string? expression);
public static string TranslateWin32Expression (string expression);
static member TranslateWin32Expression : string -> string
Public Shared Function TranslateWin32Expression (expression As String) As String

Parameters

expression
String

The expression to translate.

Returns

A string with the translated Win32 expression.

Remarks

For compatibility, Windows changes some wildcards to provide a closer match to historical DOS 8.3 filename matching.

Applies to