IMetadataCollection(T) 接口
Defines size, enumerators, lookup and filtering methods for all metadata object collections. The interface provides read-only access to the elements in the collection.
命名空间: Microsoft.SqlServer.Management.SqlParser.Metadata
程序集: Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)
语法
声明
Public Interface IMetadataCollection(Of T As IMetadataObject) _
Inherits IEnumerable(Of T), IEnumerable
用法
Dim instance As IMetadataCollection(Of T)
public interface IMetadataCollection<T> : IEnumerable<T>,
IEnumerable
where T : IMetadataObject
generic<typename T>
where T : IMetadataObject
public interface class IMetadataCollection : IEnumerable<T>,
IEnumerable
type IMetadataCollection<'T when 'T : IMetadataObject> =
interface
interface IEnumerable<'T>
interface IEnumerable
end
JScript 不支持一般类型和方法。
类型参数
- T
The type of the elements in the collection, constrained to IMetadataObject.
IMetadataCollection<(Of <(<'T>)>)> 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
AsMetadataObjectCollection | Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. | |
Count | Gets the number of elements in the collection. | |
Item | Gets the element in the collection by name. |
页首
方法
名称 | 说明 | |
---|---|---|
Contains(String) | Determines whether the collection contains an element that has the specified name. | |
Contains(T) | Determines whether the collection contains the specified object. | |
FindAll(Predicate< (Of < <' (T> ) > > )) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. | |
FindAll(String) | Retrieves all elements in the collection that have the specified name. | |
GetEnumerator() () () () | (从 IEnumerable< (Of < ( <'T> ) > ) > 继承。) | |
GetEnumerator() () () () | (从 IEnumerable 继承。) |
页首