IMetadataOrderedCollection(T) 接口

Represents a collection of metadata objects where the element ordering is preserved.

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
Public Interface IMetadataOrderedCollection(Of T As IMetadataObject) _
    Inherits IMetadataCollection(Of T), IEnumerable(Of T), IEnumerable
用法
Dim instance As IMetadataOrderedCollection(Of T)
public interface IMetadataOrderedCollection<T> : IMetadataCollection<T>, 
    IEnumerable<T>, IEnumerable
where T : IMetadataObject
generic<typename T>
where T : IMetadataObject
public interface class IMetadataOrderedCollection : IMetadataCollection<T>, 
    IEnumerable<T>, IEnumerable
type IMetadataOrderedCollection<'T when 'T : IMetadataObject> =  
    interface
        interface IMetadataCollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable
    end
JScript 不支持一般类型和方法。

类型参数

  • T
    The type of the elements in the collection, constrained to IMetadataObject.

IMetadataOrderedCollection<(Of <(<'T>)>)> 类型公开以下成员。

属性

  名称 说明
公共属性 AsMetadataObjectCollection Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. (从 IMetadataCollection< (Of < ( <'T> ) > ) > 继承。)
公共属性 Count Gets the number of elements in the collection. (从 IMetadataCollection< (Of < ( <'T> ) > ) > 继承。)
公共属性 Item[ ( [ ( String] ) ] ) Gets the element in the collection by name. (从 IMetadataCollection< (Of < ( <'T> ) > ) > 继承。)
公共属性 Item[ ( [ ( Int32] ) ] ) Gets the element at the specified index.

页首

方法

  名称 说明
公共方法 Contains(String) Determines whether the collection contains an element that has the specified name. (从 IMetadataCollection< (Of < ( <'T> ) > ) > 继承。)
公共方法 FindAll(Predicate< (Of < <' (T> ) > > )) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (从 IMetadataCollection< (Of < ( <'T> ) > ) > 继承。)
公共方法 FindAll(String) Retrieves all elements in the collection that have the specified name. (从 IMetadataCollection< (Of < ( <'T> ) > ) > 继承。)
公共方法 GetEnumerator() () () () (从 IEnumerable< (Of < ( <'T> ) > ) > 继承。)
公共方法 GetEnumerator() () () () (从 IEnumerable 继承。)

页首