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 or content is null (Nothing in Visual Basic).