FileSystemName.TranslateWin32Expression(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.