Adds a NamedImage object to the end of the collection, taking the associated image as a parameter.
Add NamedImage object into the collection
Visual Basic (Declaration) | |
---|---|
Public Overloads Function Add( _ ByVal img As NamedImage _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Add( NamedImage img ) |
Parameters
- img
-
An object derived from the .NET Image class (e.g. BitMap class).
Named Image object
Return Value
Returns an integer that represents the index where the item was inserted into the collection (0-based).
The ArrayList index at which the value has been added.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family