Bewerken

Share via


PrincipalCollection.ICollection.SyncRoot Property

Definition

Returns a synchronization object that can be used to synchronize access to this collection. Returns the PrincipalCollection object itself.

property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
object System.Collections.ICollection.SyncRoot { [System.Security.SecurityCritical] get; }
member this.System.Collections.ICollection.SyncRoot : obj
[<get: System.Security.SecurityCritical>]
member this.System.Collections.ICollection.SyncRoot : obj
 ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot

Property Value

The PrincipalCollection object.

Implements

Attributes

Remarks

This member is an explicit interface member implementation. It can be used only when the PrincipalCollection instance is cast to an ICollection interface.

Applies to