Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RegistrationBuilder.ForType Method (Type)

.NET Framework 4.6 and 4.5

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 PartBuilder ForType(
	Type type


Type: System.Type

The type.

Return Value

Type: System.ComponentModel.Composition.Registration.PartBuilder
An object that represents the rule.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft