Image.importIcon(String, Int32) 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.
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.