Method AddType
- Namespace
- Alternet.Common.TypeScript.HostObjects
- Assembly
- Alternet.Common.TypeScript.v9.dll
AddType(string, Type, HostItemOptions)
Updates current HostItemsConfiguration
by adding new element with specified parameters.
public HostItemsConfiguration AddType(string name, Type type, HostItemOptions options = HostItemOptions.None)
Parameters
name
stringName of the new
HostItem
object.type
TypeType to be added to the
HostItem
collection.options
HostItemOptionsHostItemOptions
of theHostItem
.
Returns
- HostItemsConfiguration
HostItemsConfiguration with updated Items collection.