add Method

Summary

Adds a new binding for the specified key.

Syntax
TypeScript
JavaScript
BindingManager.prototype.add = function( 
   key, 
   binding, 
   update 
) 
add( 
   key: string, 
   binding: LVBinding, 
   update: boolean 
): boolean; 

Parameters

key

Key to bind to.

binding

Binding object to add.

update

true to update a key's binding if it already exists.

Return Value

A boolean value indicating whether the BindingManager.add() operation was successful.

Example

For an example, refer to BindingManager.

Requirements
Target Platforms
Help Version 21.0.2021.3.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly