ImportBuilder.AsMany(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the import's cardinality.
public System.ComponentModel.Composition.Registration.ImportBuilder AsMany (bool isMany = true);
member this.AsMany : bool -> System.ComponentModel.Composition.Registration.ImportBuilder
Public Function AsMany (Optional isMany As Boolean = true) As ImportBuilder
Parameters
- isMany
- Boolean
true
to specify a multiple import; false
to specify a single import. The default is true
.
Returns
The current object, to allow chaining.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.