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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly