Share via


Imagelist.replace(Int32, Image) Method

Definition

Replaces an existing image in the list.

public:
 virtual int replace(int _imageIdx, Dynamics::AX::Application::Image ^ _image);
public virtual int replace (int _imageIdx, Dynamics.AX.Application.Image _image);
abstract member replace : int * Dynamics.AX.Application.Image -> int
override this.replace : int * Dynamics.AX.Application.Image -> int
Public Overridable Function replace (_imageIdx As Integer, _image As Image) As Integer

Parameters

_imageIdx
Int32

The image to use to replace the existing image.

_image
Image

The image to use to replace the existing image.

Returns

0 if the method is successful.

Applies to