ICscHostObject.SetWin32Icon(String) 方法

定义

指定要插入到程序集的 .ico 文件。Specifies an .ico file to insert into the assembly.

public:
 bool SetWin32Icon(System::String ^ win32Icon);
public bool SetWin32Icon (string win32Icon);
abstract member SetWin32Icon : string -> bool
Public Function SetWin32Icon (win32Icon As String) As Boolean

参数

win32Icon
String

要插入到程序集的 .ico 文件。The .ico file to insert into the assembly.

返回

Boolean

如果此方法成功,则为 true;否则为 falsetrue if the method was successful; otherwise, false.

适用于