TX Text Control .NET Server

SyncRoot Property

Property
Explicit
Implements System.Collections.ICollection explicitly: cast to the interface to use it.
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets an object that can be used to synchronize access to the collection.

Syntax

The type implements this member of System.Collections.ICollection explicitly: code reaches it by casting to the interface, as in ((ICollection)value).SyncRoot.

object ICollection.SyncRoot { get; }

Examples

The following example accesses the collection's sync root value through the ICollection interface.

ICollection collection = tablePartCollection;
var value = collection.SyncRoot;

Limitations

Read only.