| IGenericObjectLock Method  | 
* Locks all selected values of a specific field if the target (or handle ) is a field
* Locks selected values of a generic object if the target (or handle ) is a generic object
 
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxvoid Lock(
	string path,
	IEnumerable<int> colIndices = null
)
Sub Lock ( 
	path As String,
	Optional colIndices As IEnumerable(Of Integer) = Nothing
)
Parameters
- path
 - Type: SystemString
Path to the definition of the object.
                                        
For example, /qListObjectDef. - colIndices (Optional)
 - Type: System.Collections.GenericIEnumerableInt32
Dimension numbers or dimension indexes where the lock should apply.
                                        Dimension numbers/indexes start from 0.
                                        This parameter is optional. If this parameter is not set,  the selected values in all dimensions are locked. 
See Also