Partager via


CookieTable<TCookie, TCookieTraits, TValue>.Lock Method

Lock the table so subsequent insert/remove operations won't affect iterators

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Sub Lock
'Utilisation
Dim instance As CookieTable

instance.Lock()
public void Lock()
public:
void Lock()
member Lock : unit -> unit 
public function Lock()

.NET Framework Security

See Also

Reference

CookieTable<TCookie, TCookieTraits, TValue> Class

CookieTable<TCookie, TCookieTraits, TValue> Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace