| CanEasy COM-Help
    | 
 
  
Selection can contain any kind of database item
Definition at line 5107 of file cand_tlb.idl.
| HRESULT CanEasy::ISelection::AddItem | ( | [in] IDatabaseItem * | pData | ) | 
Adds an already created database item
| HRESULT CanEasy::ISelection::GetItemAsBus | ( | [in] LONG | lIndex, | 
| [out, retval] IBus ** | iBus | ||
| ) | 
Returns a bus by index
| HRESULT CanEasy::ISelection::GetItemAsControlUnit | ( | [in] LONG | lIndex, | 
| [out, retval] IControlUnit ** | iECU | ||
| ) | 
Returns an ECU by index
| HRESULT CanEasy::ISelection::GetItemAsMessage | ( | [in] LONG | lIndex, | 
| [out, retval] IMessage ** | iMsg | ||
| ) | 
Returns a message by index
| HRESULT CanEasy::ISelection::GetItemAsSignal | ( | [in] LONG | index, | 
| [out, retval] ISignal ** | iSig | ||
| ) | 
Returns a signal by index
| HRESULT CanEasy::ISelection::Intersect | ( | [in] ICol * | iInput, | 
| [out, retval] ISelection ** | iSelection | ||
| ) | 
Creates an intersects from this selection and the passed collection
| HRESULT CanEasy::ISelection::Remove | ( | [in] LONG | lIndex | ) | 
Removes a database item by index
| HRESULT CanEasy::ISelection::Substract | ( | [in] ICol * | iInput, | 
| [out, retval] ISelection ** | iSelection | ||
| ) | 
Creates a subtract between this selection and the passed collection
| HRESULT CanEasy::ISelection::Union | ( | [in] ICol * | iInput, | 
| [out, retval] ISelection ** | iSelection | ||
| ) | 
Creates a union from this selection and the passed collection
| 
 | get | 
Returns a database item by index