[]
Adds an icon object into a container.
public int AddIcon(string name, Icon icon)
Public Function AddIcon(name As String, icon As Icon) As Integer
Type | Description |
---|---|
int | An int32 value that specifies the index of the object in the container. Returns -1 if there is an icon with the same name already in the container; in this case, the new icon object is not added. |