Gets a particular image from the collection.

Introduced: 15.1.

GetItem()

public Image GetItem();
Public Function GetItem() As Image

GetItem(Int)

public Image GetItem(int id);
Public Function GetItem(ByVal id As Integer) As Image

GetItem(String)

public Image GetItem(string name);
Public Function GetItem(ByVal name As String) As Image

Parameters

Parameter Description
id Specifies the image's identifier. The method returns null if an image with the specified identifier does not exist.
name Specifies the image's name. The method returns null if an image with the specified name does not exist.

Return Value

The return value is null, if an image with the specified parameters could not be found. Otherwise, it is an object of the type Image.