GetInfoCS method

Delphi Example

C++ Builder Example

 

Builder Syntax

void __fastcall GetInfoCS (void);

Delphi Syntax

Procedure GetInfoCS ();

Overview

Refer to Working with Command Sets.

Remarks

Gets information about the Command Set. This method updates the InfoCommand and InfoRequest properties.

A Command Set is a special type of Data Set. The InitCS method creates a Data Set as a Command Set and inserts the elements for the specified command.

You can also determine the type of a command set by "and-ing" the value of the TAG_COMMAND_FIELD with COMMAND_REQUEST [$0000] or COMMAND_RESPONSE [$8000].

In addition, you can determine whether a command set has a required data set by "and-ing" the value of the TAG_DATA_SET_TYPE element with COMMAND_DATASET_PRESENT, COMMAND_DATASET_IDENTIFIER, or COMMAND_DATASET_ABSENT.

See Also

Elements:

InitCS method