RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TypInfo.SamePropTypeName Function

Checks whether the two given property names are equal.

Pascal
function SamePropTypeName(const Name1: ShortString; const Name2: ShortString): Boolean;
C++
Boolean SamePropTypeName(const ShortString Name1, const ShortString Name2);

SamePropTypeName compares the two given property names represented as ShortStrings. Use this function rather than the equality operator, because the internal format in which these names are stored might be changed in the future. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!