AttributedModelServices.GetMetadataView<TMetadataView> 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.