PexCreatableAttributeBase.TryInstantiate(IPexExplorationComponent, TypeEx[], IPexCreatable) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Пытается создать экземпляр этого определения с указанными аргументами.
public:
abstract bool TryInstantiate(Microsoft::Pex::Engine::ComponentModel::IPexExplorationComponent ^ host, cli::array <Microsoft::ExtendedReflection::Metadata::TypeEx ^> ^ genericTypeArguments, [Runtime::InteropServices::Out] Microsoft::Pex::Engine::Creatable::IPexCreatable ^ % creatable);
public abstract bool TryInstantiate (Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent host, Microsoft.ExtendedReflection.Metadata.TypeEx[] genericTypeArguments, out Microsoft.Pex.Engine.Creatable.IPexCreatable creatable);
abstract member TryInstantiate : Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent * Microsoft.ExtendedReflection.Metadata.TypeEx[] * IPexCreatable -> bool
Public MustOverride Function TryInstantiate (host As IPexExplorationComponent, genericTypeArguments As TypeEx(), ByRef creatable As IPexCreatable) As Boolean
Параметры
- host
- Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent
Основное приложение.
- genericTypeArguments
- Microsoft.ExtendedReflection.Metadata.TypeEx[]
Аргументы типа.
- creatable
- Microsoft.Pex.Engine.Creatable.IPexCreatable
Создаваемый объект.
Возвращаемое значение
Реализации
Microsoft.Pex.Engine.Creatable.IPexCreatableDefinition.TryInstantiate(Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent,Microsoft.ExtendedReflection.Metadata.TypeEx[],Microsoft.Pex.Engine.Creatable.IPexCreatable@)