Breyta

Deila með


PermissionSet.IsSynchronized Property

Definition

Gets a value indicating whether the collection is guaranteed to be thread safe.

public:
 virtual property bool IsSynchronized { bool get(); };
public virtual bool IsSynchronized { get; }
member this.IsSynchronized : bool
Public Overridable ReadOnly Property IsSynchronized As Boolean

Property Value

Always false.

Implements

Examples

The following code example shows the value returned by the IsSynchronized property. This code example is part of a larger example provided for the PermissionSet class.

// Display the value of the IsSynchronized property.
Console::WriteLine( "IsSynchronized property = {0}", ps1->IsSynchronized );
// Display the value of the IsSynchronized property.
Console.WriteLine("IsSynchronized property = " + ps1.IsSynchronized);
' Display the value of the IsSynchronized property.
Console.WriteLine("IsSynchronized property = " & ps1.IsSynchronized)

Remarks

PermissionSet does not automatically handle thread safety, so this property is always false.

This method is required to support ICollection.

Applies to