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. |
页首