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

Detailed Description

Collection of service requests.

Normally only one request should exist

interface IServiceRequestCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IServiceRequest**);
HRESULT AddRequest([in] BSTR sName, [out, retval] IServiceRequest**);
};

Definition at line 9519 of file cand_tlb.idl.

Member Function Documentation

◆ AddRequest()

HRESULT CanEasy::IServiceRequestCol::AddRequest ( [in] BSTR  sName,
[out, retval] IServiceRequest **   
)

Adds a new request

Parameters
sNameName of the request
Returns
Pointer to new created request

Property Documentation

◆ Item

IServiceRequest CanEasy::IServiceRequestCol::Item([in] VARIANT vIndex)
get

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

CanEasy::IServiceRequestCol::AddRequest
HRESULT AddRequest([in] BSTR sName, [out, retval] IServiceRequest **)
CanEasy::IServiceRequestCol::Item
IServiceRequest Item([in] VARIANT vIndex)