EndpointMetadataCollection.GetMetadata<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the most significant metadata item of type T
.
public:
generic <typename T>
where T : class T GetMetadata();
public T GetMetadata<T> () where T : class;
public T? GetMetadata<T> () where T : class;
member this.GetMetadata : unit -> 'T (requires 'T : null)
Public Function GetMetadata(Of T As Class) () As T
Type Parameters
- T
The type of metadata to retrieve.
Returns
T
The most significant metadata of type T
or null
.