Delen via


EndpointMetadataCollection.GetOrderedMetadata<T> Method

Definition

Gets the metadata items of type T in ascending order of precedence.

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)

Type Parameters

T

The type of metadata.

Returns

A sequence of metadata items of T.

Applies to