GlobalTypeCollection::SyncRoot Property

 

Returns an object to use for thread-safe access.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
property Object^ SyncRoot {
	virtual Object^ get() sealed;
}

Property Value

Type: System::Object^

An object to use for thread-safe access.

If IsSynchronized returns false, you may still gain thread-safe access to this collection by locking on the object returned from SyncRoot.

Return to top
Show: