CompositionContract::ChangeType Method (Type^)
.NET Framework (current version)
Creates a new contract that has the specified type but the same name and constraints as this object.
Assembly: System.Composition.Runtime (in System.Composition.Runtime.dll)
Parameters
- newContractType
-
Type:
System::Type^
The new contract type.
Show: