StringMapSnapshot.GetKey Method

Retrieves the key string of a given key in a map snapshot.

int GetKey(int index, char[] buffer, int maxlength)

Parameters

int index

Key index (starting from 0).

char[] buffer

String buffer.

int maxlength

Maximum buffer length.

Return Value

Number of bytes written to the buffer.

Errors

Index out of range.