Upravit

Sdílet prostřednictvím


AttributedModelServices.GetMetadataView<TMetadataView> Method

Definition

Gets a metadata view object from a dictionary of loose metadata.

public:
generic <typename TMetadataView>
 static TMetadataView GetMetadataView(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadata);
public static TMetadataView GetMetadataView<TMetadataView> (System.Collections.Generic.IDictionary<string,object?> metadata);
public static TMetadataView GetMetadataView<TMetadataView> (System.Collections.Generic.IDictionary<string,object> metadata);
static member GetMetadataView : System.Collections.Generic.IDictionary<string, obj> -> 'MetadataView
Public Function GetMetadataView(Of TMetadataView) (metadata As IDictionary(Of String, Object)) As TMetadataView

Type Parameters

TMetadataView

The type of the metadata view object to get.

Parameters

metadata
IDictionary<String,Object>

A collection of loose metadata.

Returns

TMetadataView

A metadata view containing the specified metadata.

Applies to