IRmlDataArray<>

Summary

Definition

Namespace: SDT4.Managed.UI.Rml.Data
Assembly: SDT4.Managed.UI.dll

interface IRmlDataArray<>
Implements:

IRmlData, IEnumerable<T>, IEnumerable

Fields

Name Type Description

Properties

Name Type Description

Methods

public Int32 Size()

Summary: Called by the DOM when it wants to know the size of the array.

Returns:


public T Get(Int32 index)

Summary: Called by the DOM when it wants to retrieve data at an array. This may be a scalar variable (such as a RmlVariant) or another structure (like IRmlDataStruct or IRmlDataArray)

Parameters:

Returns:


public Void Set(Int32 index, T value)

Summary: Sets variables for scalar arrays. This function can be disregarded if only non-scalars are accessed through arrays, unless you want to know that such a variable has been modified. If it's a reference type, it will be accurately modified anyway. This MUST be handled for both RmlVariant and IRmlDataScalar (due to there being no way to infer the underlying reference type)

Parameters: