IconEditor.CreateExtensionsString(String[], 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.
Creates a string representing the valid file extensions for icons.
protected:
static System::String ^ CreateExtensionsString(cli::array <System::String ^> ^ extensions, System::String ^ sep);
protected static string CreateExtensionsString (string[] extensions, string sep);
protected static string? CreateExtensionsString (string?[]? extensions, string sep);
static member CreateExtensionsString : string[] * string -> string
Protected Shared Function CreateExtensionsString (extensions As String(), sep As String) As String
Parameters
- extensions
- String[]
An array of strings holding valid file extensions.
- sep
- String
A string that specifies the separator character.
Returns
A string containing the icon file extensions, or null
if extensions
is null
or empty.
Remarks
The string returned by the CreateExtensionsString method is used in the OpenFileDialog for choosing icon files.
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.