PexCreatableByMethodAndSettersAttribute.TryInstantiate Method

Definition

Tries to instantiate this definition with the specified arguments.

C++
public:
 override bool TryInstantiate(Microsoft::Pex::Engine::ComponentModel::IPexExplorationComponent ^ host, cli::array <Microsoft::ExtendedReflection::Metadata::TypeEx ^> ^ genericTypeArguments, [Runtime::InteropServices::Out] Microsoft::Pex::Engine::Creatable::IPexCreatable ^ % creatable);

Parameters

host
Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent

The host.

genericTypeArguments
Microsoft.ExtendedReflection.Metadata.TypeEx[]

The type arguments.

creatable
Microsoft.Pex.Engine.Creatable.IPexCreatable

The creatable.

Returns

Applies to

Produit Versions
Visual Studio SDK 2017, 2019