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+

ITypeInfo.CreateInstance(Object[]) Method

Creates an instance of the current type using the constructor that best matches the specified parameters.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

object CreateInstance(
    params object[] args
)
Function CreateInstance(
    ParamArray args As Object()
) As Object
object CreateInstance(
    params object[] args
)
Function CreateInstance(
    ParamArray args As Object()
) As Object
object CreateInstance(
    params object[] args
)
Function CreateInstance(
    ParamArray args As Object()
) As Object

Parameters

Name Type Description
args Object[]

An array of arguments that match in number, order, and type, the parameters of the constructor to invoke.

Parameters

Name Type Description
args Object[]

An array of arguments that match in number, order, and type, the parameters of the constructor to invoke.

Parameters

Name Type Description
args Object[]

An array of arguments that match in number, order, and type, the parameters of the constructor to invoke.

Returns

Type Description
Object

A reference to the newly created object.

Returns

Type Description
Object

A reference to the newly created object.

Returns

Type Description
Object

A reference to the newly created object.

Remarks

If an empty array or null reference (Nothing in Visual Basic) is passed as the args parameter, the default constructor is invoked.

See Also