Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ITypesInfo.CanInstantiate(Type) Method

Indicates whether a specific type can be instantiated.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

bool CanInstantiate(
    Type type
)

#Parameters

Name Type Description
type Type

A Type object which represents the requried type.

#Returns

Type Description
Boolean

true, if the specified type can be instantiated; otherwise, false.

#Remarks

This method returns true, if the specified type is persistent, non-abstract, has a public constructor and is not an interface.

See Also