Export (0) Print
Expand All

ImportAttribute Properties

The ImportAttribute type exposes the following members.

  Name Description
Public property Supported by Portable Class Library 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 Supported by Portable Class Library 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 Supported by Portable Class Library ContractName Gets the contract name of the export to import.
Public property Supported by Portable Class Library ContractType Gets the type of the export to import.
Public property Supported by Portable Class Library 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:
© 2015 Microsoft