次の方法で共有


AttributedModelServices.GetMetadataView<TMetadataView> Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
Public Shared Function GetMetadataView(Of TMetadataView) ( _
    metadata As IDictionary(Of String, Object) _
) As TMetadataView
public static TMetadataView GetMetadataView<TMetadataView>(
    IDictionary<string, Object> metadata
)

Type Parameters

  • TMetadataView
    The type of the metadata view object to get.

Parameters

Return Value

Type: TMetadataView
A metadata view containing the specified metadata.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.