ZennoLab Assemblies Documentation
UnLockListSyncer Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > PhpHelper Class : UnLockListSyncer Method

Glossary Item Box

The performs the unlock the lists.

Syntax

C# 
public static void UnLockListSyncer()

Example

The following code example demonstrates uses of the UnLockListSyncer method.
PHPCopy Code
// get the list from project
$list = $project->Lists->get_Item("List1");
// lock the lists
ZennoLab\CommandCenter\PhpHelper::LockListSyncer();
try 
{
    // get the item from list
    $tmp = $list->get_Item(0);
    // remove this item
    $list->RemoveAt(0);
}
catch (Exception $e) {}
// unlock the lists
ZennoLab\CommandCenter\PhpHelper::UnLockListSyncer();

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.