HostTypeCollectionAddType(String, Type) Method |
Adds a type to a host type collection. The type is specified by name.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public void AddType(
string typeName,
params Type[] typeArgs
)
Public Sub AddType (
typeName As String,
ParamArray typeArgs As Type()
)
public:
void AddType(
String^ typeName,
... array<Type^>^ typeArgs
)
member AddType :
typeName : string *
typeArgs : Type[] -> unit
Parameters
- typeName String
- The fully qualified name of the type to add.
- typeArgs Type
- Optional generic type arguments.
See Also