共用方式為


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。)

上層