CanEasy COM-Help
CanEasy::IServiceCol Interface Reference
Inheritance diagram for CanEasy::IServiceCol:
CanEasy::ICol

Detailed Description

Collection of services

interface IServiceCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IService** ppService);
HRESULT AddService([in] BSTR sName, [out, retval] IService**);
};

Definition at line 9786 of file cand_tlb.idl.

Member Function Documentation

◆ AddService()

HRESULT CanEasy::IServiceCol::AddService ( [in] BSTR  sName,
[out, retval] IService **   
)

Adds a new service

Parameters
sNameName of the service
Returns
Pointer to new created service

Property Documentation

◆ Item

IService CanEasy::IServiceCol::Item([in] VARIANT vIndex)
get

Returns item by name or by index (starting from 1)

CanEasy::IServiceCol::Item
IService Item([in] VARIANT vIndex)
CanEasy::IServiceCol::AddService
HRESULT AddService([in] BSTR sName, [out, retval] IService **)