ImportConventionBuilder.AsMany 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.
Overloads
AsMany() |
Configures the import to receive a collection of exports. |
AsMany(Boolean) |
Configures the import to receive a collection of exports, possibly representing all available matching exports. |
AsMany()
- Source:
- ImportConventionBuilder.cs
- Source:
- ImportConventionBuilder.cs
- Source:
- ImportConventionBuilder.cs
- Source:
- ImportConventionBuilder.cs
Configures the import to receive a collection of exports.
public:
System::Composition::Convention::ImportConventionBuilder ^ AsMany();
public System.Composition.Convention.ImportConventionBuilder AsMany ();
member this.AsMany : unit -> System.Composition.Convention.ImportConventionBuilder
Public Function AsMany () As ImportConventionBuilder
Returns
An import builder that can receive a collection of exports and allows for further configuration.
Applies to
AsMany(Boolean)
- Source:
- ImportConventionBuilder.cs
- Source:
- ImportConventionBuilder.cs
- Source:
- ImportConventionBuilder.cs
- Source:
- ImportConventionBuilder.cs
Configures the import to receive a collection of exports, possibly representing all available matching exports.
public:
System::Composition::Convention::ImportConventionBuilder ^ AsMany(bool isMany);
public System.Composition.Convention.ImportConventionBuilder AsMany (bool isMany);
member this.AsMany : bool -> System.Composition.Convention.ImportConventionBuilder
Public Function AsMany (isMany As Boolean) As ImportConventionBuilder
Parameters
- isMany
- Boolean
true
to provide all available matching exports; otherwise, false
.
Returns
An import builder that can receive a collection of exports and allows for further configuration.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om