Otter SDK Reference
Version:

Element(string elementType, object[] content) Constructor

Initializes a new instance of the Element class.

Syntax

public .ctor(string elementType, object[] content)

Parameters

elementType
Type: string

Type of the element.

content
Type: object[]

Content to add to the element.

Exceptions

System.ArgumentNullException

elementType is null (Nothing in Visual Basic) or empty, content is null (Nothing in Visual Basic), or one of the values in content is null (Nothing in Visual Basic).