ImportAttribute Properties
.NET Framework 4.5
The ImportAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
AllowDefault | Gets or sets a value that indicates whether the property, field, or parameter will be set to its type's default value when an export with the contract name is not present in the container. |
|
AllowRecomposition | Gets or sets a value that indicates whether the property or field will be recomposed when exports with a matching contract have changed in the container. |
|
ContractName | Gets the contract name of the export to import. |
|
ContractType | Gets the type of the export to import. |
|
RequiredCreationPolicy | Gets or sets a value that indicates that the importer requires a specific CreationPolicy for the exports used to satisfy this import. |
|
Source | Gets or sets a value that specifies the scopes from which this import may be satisfied. |
|
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |