JVCL Help:IJvDataItemsDesigner.NewByKind

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Creates a specific type of Data Item.


Pascal

 functionNewByKind(Kind: Integer): IJvDataItem;


Parameters

Parameters Description
Kind: Integer Index of the item type to create. This is a 0-based value. If the specified index is invalid the function either returns nil or generates an exception (depending on the implementation).


Description

NewByKind will create a new Data Item instance with properties and supporting interface depending on the kind specified. Which item type is created depends solely on the implementation of the interface.


See Also

IJvDataItemsDesigner.GetCount


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page