Share via


IDataElement Interface

Definition

Describes a data element that is made up of a name, value, and data type. Each part of the data element is described as a string. Names are formatted according to the Common Language Specification (CLS). Values for primitives are formatted in decimal (base 10). Type names are formatted according to the Common Language Specification (CLS).

public interface class IDataElement
public interface class IDataElement
__interface IDataElement
public interface IDataElement
type IDataElement = interface
Public Interface IDataElement

Properties

HasChildren

Gets a value that indicates if this data element has children. If the IDataElement has children, true is returned. The fields of an object are represented as children and the elements of an array are represented as children.

Name

Gets the name of the data element formatted according to the Common Language Specification (CLS).

TypeName

Gets the type name of the data element formatted according to the Common Language Specification (CLS).

Value

Gets the value of the data element. For primitive values, the value is formatted in decimal (base 10). For objects, the value is the type name enclosed in curly braces ({type-name}). For objects where the value was not collected, the value is set to "{unknown}".

Methods

GetChildren()

Gets the children of this data element. The fields of an object are represented as children and the elements of an array are represented as children.

Applies to