ImportAttribute Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ImportAttribute class.

Namespace:   System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.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.

System_CAPS_pubmethodImportAttribute(String, Type)

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

System_CAPS_pubmethodImportAttribute(Type)

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

Return to top
Show: