Redigera

Dela via


ImportBuilder.AsMany(Boolean) Method

Definition

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