IArrayType

Overview

By implementing this interface, you can add an additional array of properties (name -> value) for a class.

The ICustomArrayType interface, which is widely used in data serialization/deserialization (look at the abstract class Serializer and its implementations: BinSerializer, JsonSerializer, PostSerializer, etc), is derived from it.

The abstract generic realization of this interface is ArrayType<T>.

Location


Required Methods


GetAttributeCount

Returns the declared attributes count.

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index: