JVCL Help:IJvDataContextsManager.Add

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

Search in JVCL Help

 
Search in all projects
 

Summary

Adds a context to the list.


Pascal

 functionAdd(Context: IJvDataContext): IJvDataContext;


Parameters

Parameters Description
Context: IJvDataContext Reference to the data context to add.


Description

Add will add the specified context to the list of contexts. A check will be performed before adding to make sure the name of the context is unique within the list and the context is not already linked to another context list. If one of these checks fail an exception will be raised. A reference to the added context is returned (which may not be the same instance in some cases).


See Also

IJvDataContext.Name, IJvDataContextsManager.Delete, IJvDataContextsManager.New


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