我想知道如何在Visual Basic中编辑队列的任何元素。你能告诉我是否有任何方法或任何方法来获得一个元素并进行修改?我想修改队列的第一个元素,但我不知道。
COLAESPERA。 Peek-1 我需要减去队列的第一个元素。
Public Sub RR()
If COLAESPERA.Count = 0 Then
Else
For i = 1 To quamtun
***COLAESPERA.Peek-1***
If COLAESPERA.Peek = 0 Then
COLAESPERA.Dequeue()
RR()
Else
If i = quamtun Then
COLAESPERA.Enqueue(COLAESPERA.Dequeue)
RR()
End If
End If
Next
End If
End Sub