Registers a key binding for the type specified.

Namespace: Hypertable.Persistence
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool RegisterKeyBinding(
	Type type,
	IKeyBinding keyBinding
)
Public Function RegisterKeyBinding ( _
	type As Type, _
	keyBinding As IKeyBinding _
) As Boolean
public:
bool RegisterKeyBinding(
	Type^ type, 
	IKeyBinding^ keyBinding
)

Parameters

type
Type
The entity type.
keyBinding
IKeyBinding
The key binding.

Return Value

true if the key binding has been added, false if an existing key binding has been replaced.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If type is null.
System..::..ArgumentNullException If keyBinding is null.

See Also