RAD Studio VCL Reference
|
Indicates whether two TParameters objects have identical contents.
function IsEqual(Value: TParameters): Boolean;
__fastcall Boolean IsEqual(TParameters Value);
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
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|