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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CookieTable<TCookie, TCookieTraits, TValue> Class