RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNodeCollection.IsCollectionItem Method

Indicates whether a specified node represents the type of node that appears as a repeating child of this node.

Pascal
function IsCollectionItem(const Node: IXMLNode): Boolean;
C++
__fastcall Boolean IsCollectionItem(const IXMLNode Node);

Applications can't call the protected IsCollectionItem method. TXMLNodeCollection uses this method internally to distinguish nodes that represent instances of the repeating child node type. 

IsCollectionItem checks whether Node implements the interface specified by the ItemInterface property . If so, it returns true. Otherwise, it returns false. 

 

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