C# Class SwfDotNet.IO.ComponentCollection

ComponentCollection
Inheritance: System.Collections.CollectionBase
Show file Open project: bladecoding/SwfExport

Public Methods

Method Description
Add ( Component value ) : Component

Add a base tag

AddRange ( Component values ) : void

Add an array of component

Clear ( ) : void

Clear collection

ComponentCollection ( ) : System

Constructor

Contains ( Component value ) : bool

Test if list contain a component

GetLastOne ( ) : Component

Gets the last component of the collection.

IndexOf ( Component value ) : int

Get index of a component

Insert ( int index, Component value ) : void

Insert a component at

Remove ( Component value ) : void

Remove a component

ToArray ( ) : SwfDotNet.IO.Component[]

Convert collection to array

this ( int index ) : Component

Access component list by index

Method Details

Add() public method

Add a base tag
public Add ( Component value ) : Component
value Component base tag to add
return Component

AddRange() public method

Add an array of component
public AddRange ( Component values ) : void
values Component swf array
return void

Clear() public method

Clear collection
public Clear ( ) : void
return void

ComponentCollection() public method

Constructor
public ComponentCollection ( ) : System
return System

Contains() public method

Test if list contain a component
public Contains ( Component value ) : bool
value Component component
return bool

GetLastOne() public method

Gets the last component of the collection.
public GetLastOne ( ) : Component
return Component

IndexOf() public method

Get index of a component
public IndexOf ( Component value ) : int
value Component component
return int

Insert() public method

Insert a component at
public Insert ( int index, Component value ) : void
index int index
value Component swf
return void

Remove() public method

Remove a component
public Remove ( Component value ) : void
value Component
return void

ToArray() public method

Convert collection to array
public ToArray ( ) : SwfDotNet.IO.Component[]
return SwfDotNet.IO.Component[]

this() public method

Access component list by index
public this ( int index ) : Component
index int
return Component