共用方式為


UrnCollection.ICollection<Urn>.IsReadOnly 屬性

Gets a value indicating whether the ICollection 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
True if the ICollection is read-only; otherwise; false.

實作

ICollection<T>.IsReadOnly

備註

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

請參閱

參考

UrnCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間