Microsoft SDK for Java

Class_GetFieldByIndex

Retrieves a handle to a field specified by index.

Syntax

struct fieldblock * __cdecl Class_GetFieldByIndex(ClassClass *cls, unsigned index);

Return Value

Returns a field block pointer.

Parameters

*cls The address of the class object. Use FindClass to determine the class.
index The index value of the field in the class. The index must be between 0 (zero) and the field count (returned from Class_GetFieldCount) minus 1, inclusive.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.