RequestFactory.CreateWriteRequest (METH)ΒΆ

METHOD CreateWriteRequest : IDatasources.IDriverRequest

Creates a request representing a write operation for the given list of items. When the request is no longer necessary, it will be released by a call to |IDriverRequestFactory.ReleaseRequest|

Important

The passed list of items must not be stored as part of the request.

InOut:

Scope

Name

Type

Comment

Return

CreateWriteRequest

IDatasources.IDriverRequest

A new request object representing a write operation for the given list of items.

Input

pItems

POINTER TO IDatasources.IDataItem

A pointer to an array of |IDataItem| instances that should be written.

itemsCount

DINT

The number of items within the array.