Sdílet prostřednictvím


Image.importIcon(String, Int32) Method

Definition

Retrieves a handle to an icon from an executable file in Finance and Operations. The icon is specified by the fileName and iconIdx parameters.

public:
 virtual int importIcon(System::String ^ _fileName, int _iconIdx);
public virtual int importIcon (string _fileName, int _iconIdx);
abstract member importIcon : string * int -> int
override this.importIcon : string * int -> int
Public Overridable Function importIcon (_fileName As String, _iconIdx As Integer) As Integer

Parameters

_fileName
String

The resource within the specified file.

_iconIdx
Int32

The resource within the specified file.

Returns

0 indicates success; otherwise, failure.

Applies to