FaceTemplateDict.containsKey Method¶
Module: FaceTemplateDict
Definition¶
Determines whether the FaceTemplateDictobject contains the specified key.
contains_key(self, key: str) -> bool
Parameters
key
strin The key to locate in the FaceTemplate object.
Returns
bool
true if the FaceTemplate object contains an element with the specified key, otherwise false.
Exceptions
An error has occurred during Face Library execution.
bool containsKey(String? key)
Parameters
key
Stringin The key to locate in the FaceTemplate object.
Returns
bool
true if the FaceTemplate object contains an element with the specified key, otherwise false.
Exceptions
An error has occurred during Face Library execution.
public bool ContainsKey(string key)
Parameters
key
stringin The key to locate in the FaceTemplate object.
Returns
bool
true if the FaceTemplate object contains an element with the specified key, otherwise false.
Exceptions
An error has occurred during Face Library execution.
public boolean containsKey(String key) throws FaceException
Parameters
key
Stringin The key to locate in the FaceTemplate object.
Returns
boolean
true if the FaceTemplate object contains an element with the specified key, otherwise false.
Exceptions
An error has occurred during Face Library execution.
public func containsKey(key: String) throws -> Bool
Parameters
key
Stringin The key to locate in the FaceTemplate object.
Returns
Bool
true if the FaceTemplate object contains an element with the specified key, otherwise false.
Exceptions
An error has occurred during Face Library execution.
int id3FaceTemplateDict_ContainsKey (
ID3_FACE_TEMPLATE_DICT hFaceTemplateDict,
const char * key,
bool * result)
Parameters
hFaceTemplateDict
ID3_FACE_TEMPLATE_DICTin Handle to the FaceTemplateDict object.key
const char *in The key to locate in the FaceTemplate object.result
bool *out true if the FaceTemplate object contains an element with the specified key, otherwise false.
Returns