StringConstructor.CreateInstance Method (Object[])


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates an instance of the prototype-based object, passing in the specified arguments.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public StringObject CreateInstance(
	params object[] args


Type: System.Object[]

The arguments to pass to the constructor.

Return Value

Type: Microsoft.JScript.StringObject

An instance of the object.

.NET Framework
Available since 1.1
Return to top