Edit

Share via


IconEditor.CreateExtensionsString(String[], String) Method

Definition

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