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.

ImportAttribute Constructor

.NET Framework (current version)
 

Initializes a new instance of the ImportAttribute class.

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

NameDescription
System_CAPS_pubmethodImportAttribute()

Initializes a new instance of the ImportAttribute class, importing the export with the default contract name.

System_CAPS_pubmethodImportAttribute(String^)

Initializes a new instance of the ImportAttribute class, importing the export with the specified contract name.

Return to top
Show:
© 2017 Microsoft