DX9ToolsR4 - Created by: X

DirectDrawLayerCollection.Add Method 

Adds a DirectDrawLayer type to the collection.

[Visual Basic]
Public Function Add( _
   ByVal Item As DirectDrawLayer _
) As Integer
[C#]
public int Add(
   DirectDrawLayer Item
);

Parameters

Item
A reference to a DirectDrawLayer type.

Return Value

Returns the index that the item was added to.

Exceptions

Exception TypeCondition
ArgumentNullException Will throw a ArgumentNullException Exception if 'Item' is nothing.

See Also

DirectDrawLayerCollection Class | CBX.Libs.DX9ToolsR4.Collections Namespace