# set method

void set(

1. int index,
2. FaceTemplate faceTemplateItem

)

Sets an item of the FaceTemplateList object.

param index Index of the FaceTemplate item to set. param faceTemplateItem FaceTemplate item to set. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void set(int index, FaceTemplate faceTemplateItem) {
      var err = faceSDK.id3FaceTemplateList_Set(_pHandle.value, index, faceTemplateItem.handle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }