Share via


ExportMetadataAttribute Constructor

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

Initializes a new instance of the ExportMetadataAttribute with the specified name and metadata value.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As Object _
)
public ExportMetadataAttribute(
    string name,
    Object value
)

Parameters

  • name
    Type: System.String
    A string that contains the name of the metadata value, or nulla null reference (Nothing in Visual Basic) to set the Name property to an empty string ("").
  • value
    Type: System.Object
    An object that contains the metadata value. This can be nulla null reference (Nothing in Visual Basic).

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.