Click or drag to resize

HostTypeCollectionAddType Method (String, Type)

Adds a type to a host type collection. The type is specified by name.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
public void AddType(
	string typeName,
	params Type[] typeArgs
)

Parameters

typeName
Type: SystemString
The fully qualified name of the type to add.
typeArgs
Type: SystemType
Optional generic type arguments.
See Also