RegistrationBuilder.ForType Method (Type)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets an object that represents a rule that applies to the specified type.

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

Public Function ForType (
	type As Type
) As PartBuilder

Parameters

type
Type: System.Type

The type.

Return Value

Type: System.ComponentModel.Composition.Registration.PartBuilder

An object that represents the rule.

.NET Framework
Available since 4.5
Return to top
Show: