File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -203,13 +203,19 @@ End Property
203203''' </summary>
204204Public Property Get items() As Variant
205205Attribute items.VB_Description = "Gets an array with all the Items from the current instance."
206- If CurrentIndex >= 0 Then
207- Dim tmpResult() As Variant
208- tmpResult = Buffer
209- If MaxIndex <> CurrentIndex Then
210- ReDim Preserve tmpResult(0 To CurrentIndex)
206+ If Not P_INDEXING Then
207+ If CurrentIndex >= 0 Then
208+ Dim tmpResult() As Variant
209+ tmpResult = Buffer
210+ If MaxIndex <> CurrentIndex Then
211+ ReDim Preserve tmpResult(0 To CurrentIndex)
212+ End If
213+ items = tmpResult
214+ End If
215+ Else
216+ If IndexedCurrentIndex >= 0 Then
217+ items = IndexedItems
211218 End If
212- items = tmpResult
213219 End If
214220End Property
215221
You can’t perform that action at this time.
0 commit comments