共用方式為


NormalizedSnapshotSpanCollection.ICollection.SyncRoot Property

Gets an object that can be used to synchronized access to this collection.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
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
private override SyncRoot : Object
JScript does not support explicit interface implementations.

Property Value

Type: System.Object
The object that can be used to synchronized access to this collection.

Implements

ICollection.SyncRoot

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace