EndpointMetadataCollection.GetOrderedMetadata<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按优先顺序升序获取类型的 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
元数据的类型。
返回
IEnumerable<T>
的元数据项序列 T
。