TypeCatalog Constructor (IEnumerable(Type))

TypeCatalog Constructor (IEnumerable<Type>)

.NET Framework (current version)
 

Initializes a new instance of the TypeCatalog class with the specified types.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public TypeCatalog(
	IEnumerable<Type> types
)

Parameters

types
Type: System.Collections.Generic.IEnumerable<Type>

A collection of attributed Type objects to add to the TypeCatalog object.

Exception Condition
ArgumentNullException

types is null.

ArgumentException

types contains an element that is null.

-or-

types contains an element that was loaded in the reflection-only context.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2016 Microsoft