Bagikan melalui


FlowControl.ForLoopInitObj Metode

Definisi

Menginisialisasi perulangan For...Next .

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

public:
 static bool ForLoopInitObj(System::Object ^ Counter, System::Object ^ Start, System::Object ^ Limit, System::Object ^ StepValue, System::Object ^ % LoopForResult, System::Object ^ % CounterResult);
public static bool ForLoopInitObj (object Counter, object Start, object Limit, object StepValue, ref object LoopForResult, ref object CounterResult);
static member ForLoopInitObj : obj * obj * obj * obj * obj * obj -> bool
Public Function ForLoopInitObj (Counter As Object, Start As Object, Limit As Object, StepValue As Object, ByRef LoopForResult As Object, ByRef CounterResult As Object) As Boolean
Public Shared Function ForLoopInitObj (Counter As Object, Start As Object, Limit As Object, StepValue As Object, ByRef LoopForResult As Object, ByRef CounterResult As Object) As Boolean

Parameter

Counter
Object

Variabel penghitung perulangan.

Start
Object

Nilai awal penghitung perulangan.

Limit
Object

Nilai To opsi.

StepValue
Object

Nilai Step opsi.

LoopForResult
Object

Objek yang berisi nilai terverifikasi untuk nilai perulangan.

CounterResult
Object

Nilai penghitung untuk perulangan perulangan berikutnya.

Mengembalikan

False jika perulangan telah dihentikan; jika tidak, True.

Keterangan

Kelas ini mendukung pengkompilasi Visual Basic dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

Berlaku untuk

Lihat juga