Data.Win.ADODB.TParameters.IsEqual

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsEqual(Value: TParameters): Boolean;

C++

bool __fastcall IsEqual(TParameters* Value);

Properties

Type Visibility Source Unit Parent
function public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TParameters

Description

Indicates whether two TParameters objects have identical contents.

Use IsEqual to compare the contents of two TParameters objects. IsEqual returns true if the parameter collection specified in Value exactly matches the calling parameter collection. To match, each parameter collection must have the same number of TParameter objects, in the same order, which match on name, datatype, parameter type, and value.



if (ADOQuery1.Parameters.IsEqual(ADOQuery2.Parameters) then
{ do one thing }
else
{ do something else };



if (ADOQuery1->Parameters->IsEqual(ADOQuery2->Parameters)
// do one thing
else
// do something else



See Also