IconEditor.CreateFilterEntry(IconEditor) 方法

定义

为文件对话框创建筛选器字符串。

protected:
 static System::String ^ CreateFilterEntry(System::Drawing::Design::IconEditor ^ e);
protected:
 static System::String ^ CreateFilterEntry(System::Drawing::Design::IconEditor ^ editor);
protected static string CreateFilterEntry (System.Drawing.Design.IconEditor e);
protected static string CreateFilterEntry (System.Drawing.Design.IconEditor editor);
static member CreateFilterEntry : System.Drawing.Design.IconEditor -> string
static member CreateFilterEntry : System.Drawing.Design.IconEditor -> string
Protected Shared Function CreateFilterEntry (e As IconEditor) As String
Protected Shared Function CreateFilterEntry (editor As IconEditor) As String

参数

eeditor
IconEditor

将为其创建筛选器字符串的 IconEditor

返回

筛选器字符串,创建自 CreateExtensionsString(String[], String) 所返回的字符串。

注解

方法返回的 CreateFilterEntry 字符串用于 OpenFileDialog 筛选图标文件。

适用于