EndpointMetadataCollection.GetOrderedMetadata<T> 方法

定义

按优先顺序升序获取类型的 T 元数据项。

public:
generic <typename T>
 where T : class System::Collections::Generic::IEnumerable<T> ^ GetOrderedMetadata();
public:
generic <typename T>
 where T : class System::Collections::Generic::IReadOnlyList<T> ^ GetOrderedMetadata();
public System.Collections.Generic.IEnumerable<T> GetOrderedMetadata<T> () where T : class;
public System.Collections.Generic.IReadOnlyList<T> GetOrderedMetadata<T> () where T : class;
member this.GetOrderedMetadata : unit -> seq<'T (requires 'T : null)> (requires 'T : null)
member this.GetOrderedMetadata : unit -> System.Collections.Generic.IReadOnlyList<'T (requires 'T : null)> (requires 'T : null)
Public Function GetOrderedMetadata(Of T As Class) () As IEnumerable(Of T)
Public Function GetOrderedMetadata(Of T As Class) () As IReadOnlyList(Of T)

类型参数

T

元数据的类型。

返回

的元数据项序列 T

适用于