Export (0) Print
Expand All

ImportAttribute Properties

The ImportAttribute type exposes the following members.

  Name Description
Public property 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.
Public property 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.
Public property ContractName Gets the contract name of the export to import.
Public property ContractType Gets the type of the export to import.
Public property RequiredCreationPolicy Gets or sets a value that indicates that the importer requires a specific CreationPolicy for the exports used to satisfy this import.
Public property Source Gets or sets a value that specifies the scopes from which this import may be satisfied.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Top
Show:
© 2014 Microsoft