共用方式為


IReadOnlySet<T> 介面

Defines properties and methods for the generic immutable sets.

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

語法

'宣告
Public Interface IReadOnlySet(Of T) _
    Inherits IReadOnlySet, IReadOnlyCollection(Of T), IReadOnlyCollection,  _
    IEnumerable(Of T), IEnumerable
'用途
Dim instance As IReadOnlySet(Of T)
public interface IReadOnlySet<T> : IReadOnlySet, 
    IReadOnlyCollection<T>, IReadOnlyCollection, IEnumerable<T>, IEnumerable
generic<typename T>
public interface class IReadOnlySet : IReadOnlySet, 
    IReadOnlyCollection<T>, IReadOnlyCollection, IEnumerable<T>, IEnumerable
type IReadOnlySet<'T> =  
    interface 
        interface IReadOnlySet 
        interface IReadOnlyCollection<'T>
        interface IReadOnlyCollection 
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript 不支援一般類型和方法。

型別參數

  • T
    The type of the elements in the set.

IReadOnlySet<T> 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Count Gets the number of items that are contained in the collection. (繼承自 IReadOnlyCollection。)

上層

方法

  名稱 說明
公用方法 Contains Determines whether the specified item is contained in the collection. (繼承自 IReadOnlyCollection<T>。)
公用方法 CopyTo Copies the elements of the collection to the specified array, starting at a particular array index. (繼承自 IReadOnlyCollection<T>。)
公用方法 GetEnumerator (繼承自 IEnumerable<T>。)
公用方法 IsProperSubsetOf(IEnumerable) Checks if this set is a subset of another set, but differs from it. (繼承自 IReadOnlySet。)
公用方法 IsProperSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set, but differs from it.
公用方法 IsProperSupersetOf(IEnumerable) Checks if this set is a superset of another set, but differs from it. (繼承自 IReadOnlySet。)
公用方法 IsProperSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set, but differs from it.
公用方法 IsSubsetOf(IEnumerable) Checks if this set is a subset of another set. (繼承自 IReadOnlySet。)
公用方法 IsSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set.
公用方法 IsSupersetOf(IEnumerable) Checks if this set is a superset of another set. (繼承自 IReadOnlySet。)
公用方法 IsSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set.
公用方法 Overlaps(IEnumerable) Checks if this set has any elements in common with another set. (繼承自 IReadOnlySet。)
公用方法 Overlaps(IEnumerable<T>) Determines whether this set has any elements in common with another set.
公用方法 SetEquals(IEnumerable) Checks if this set contains the same and only the same elements as the other. (繼承自 IReadOnlySet。)
公用方法 SetEquals(IEnumerable<T>) Determines whether this set contains the same and only the same elements as the other.

上層

請參閱

參考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間