Partager via


NormalizedSnapshotSpanCollection.ICollection.SyncRoot, propriété

Obtient un objet qui peut être utilisé pour synchroniser l'accès à cette collection.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
Private ReadOnly Property SyncRoot As Object 
    Implements ICollection.SyncRoot
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
    Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object with get 
private override SyncRoot : Object with get
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Valeur de propriété

Type : Object
L'objet qui peut être utilisé à l'accès synchronisé à cette collection.

Implémentations

ICollection.SyncRoot

Sécurité .NET Framework

Voir aussi

Référence

NormalizedSnapshotSpanCollection Classe

Microsoft.VisualStudio.Text, espace de noms