Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PartMetadataAttribute Constructor (String^, Object^)

.NET Framework (current version)
 

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

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

public:
PartMetadataAttribute(
	String^ name,
	Object^ value
)

Parameters

name
Type: System::String^

A string that contains the name of the metadata value or null to use an empty string ("").

value
Type: System::Object^

An object that contains the metadata value. This can be null.

Return to top
Show:
© 2017 Microsoft