def get_as_nullable_type(self, index, value_type):
        """
        Converts array element into a value defined by specied typecode.
        If conversion is not possible it returns None.

        :param index: an index of element to get.

        :param value_type: the TypeCode that defined the type of the result

        :return: element value defined by the typecode or None if conversion is not supported.
        """
        value = self[index]
        return TypeConverter.to_nullable_type(value_type, value)
Converts array element into a value defined by specied typecode.
        If conversion is not possible it returns None.

        :param index: an index of element to get.

        :param value_type: the TypeCode that defined the type of the result

        :return: element value defined by the typecode or None if conversion is not supported.