Gets a particular image from the collection.
Introduced: 15.1.
public Image GetItem();
Public Function GetItem() As Image
public Image GetItem(int id);
Public Function GetItem(ByVal id As Integer) As Image
public Image GetItem(string name);
Public Function GetItem(ByVal name As String) As Image
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. |
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.