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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.