Table of Contents

Method AddObject

Namespace
Alternet.Common.TypeScript.HostObjects
Assembly
Alternet.Common.TypeScript.v9.dll

AddObject(string, object, HostItemOptions)

Updates current HostItemsConfiguration by adding new element with specified parameters.

public HostItemsConfiguration AddObject(string name, object @object, HostItemOptions options = HostItemOptions.None)

Parameters

name string

Name of the new HostItem object.

object object

Object to be added to the HostItem collection.

options HostItemOptions

HostItemOptions of the new HostItem.

Returns

HostItemsConfiguration

HostItemsConfiguration with updated Items collection.