The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ITypesInfo.CanInstantiate(Type) Method

Indicates whether a specific type can be instantiated.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

bool CanInstantiate(
    Type type
)
Function CanInstantiate(
    type As Type
) As Boolean
bool CanInstantiate(
    Type type
)
Function CanInstantiate(
    type As Type
) As Boolean
bool CanInstantiate(
    Type type
)
Function CanInstantiate(
    type As Type
) As Boolean

Parameters

Name Type Description
type Type

A Type object which represents the requried type.

Parameters

Name Type Description
type Type

A Type object which represents the requried 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.

Returns

Type Description
Boolean

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

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