ArrayType<T>

Overview

Abstract System.Collections.Generic.List<T> descendant that additionaly implements an IArrayType interface.

Location


Instance Methods


constructor  protected

Creates a new instance of the ArrayType<T> class. Can only be called from the descendant class.

 

constructor

 

ArrayType<T>()

 

Sub New()

constructor (Int32)  protected

 

constructor(capacity: Int32)

 

ArrayType<T>(Int32 capacity)

 

Sub New(capacity As Int32)

Parameters:

  • capacity:

constructor (IEnumerable<T>)  protected

 

constructor(collection: IEnumerable<T>)

 

ArrayType<T>(IEnumerable<T> collection)

 

Sub New(collection As IEnumerable<T>)

Parameters:

  • collection:

GetAttributeCount

Returns a count of objects stored in the current instance. Always returns 0 in the current implementation.

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName

Returns the name of the attribute stored in the current instance at position index. Always returns null in the current implementation.

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index: Index of requested attribute.

GetAttributeValue

Returns the value of the attribute stored in the current instance at position index. Always returns null in the current implementation.

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index: Index of requested attribute.

ReadGeneric

Loads data into the current instance using the provided Serializer. In current implementations, this method calls the Serializer.ReadObject method with the current instance as parameter.

 

method ReadGeneric(serializer: Serializer)

 

void ReadGeneric(Serializer serializer)

 

Sub ReadGeneric(serializer As Serializer)

Parameters:

  • serializer: Instance of the Serializer class that will be used to read data.

WriteGeneric

Loads data into the current instance using the provided Serializer. In current implementations, this method calls the Serializer.WriteObject method with the current instance as parameter.

 

method WriteGeneric(serializer: Serializer)

 

void WriteGeneric(Serializer serializer)

 

Sub WriteGeneric(serializer As Serializer)

Parameters:

  • serializer: Instance of the Serializer class that will be used to write data.

 

Implements