共用方式為


ICollection(Urn).IsReadOnly 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Private ReadOnly Property IsReadOnly As Boolean
    Implements ICollection(Of Urn).IsReadOnly
    Get
'用途
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 支援明確介面實作的使用,但不支援新介面實作的宣告。

屬性值

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

實作

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

備註

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