Share via


Propriété ICollection(Urn).IsReadOnly

Gets a Boolean indicating whether the collection is read-only.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Private ReadOnly Property IsReadOnly As Boolean
    Implements ICollection(Of Urn).IsReadOnly
    Get
'Utilisation
Dim instance As UrnCollection
Dim value As Boolean

value = CType(instance, ICollection(Of Urn)).IsReadOnly
bool ICollection<Urn>.IsReadOnly { get; }
private:
virtual property bool IsReadOnly {
    bool get () sealed = ICollection<Urn^>::IsReadOnly::get;
}
private abstract IsReadOnly : bool
private override IsReadOnly : bool
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean which indicates whether the collection is read-only.

Implémente

ICollection< (Of < ( <'T> ) > ) >. . :: . .IsReadOnly

Notes

The ICollection interface is the base interface for classes in the [System.Collections.Generic] namespace.