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

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.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

object CreateInstance(
    params object[] args
)

#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.

#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