Method Get
Get(string)
Returns the chemical definition associated with the given code if one is found or ChemTypeNotFoundContract is thrown otherwise
public ChemTypeInfoContract Get(string code)
Parameters
code
stringThe code associated with the target chemical definition
Returns
- ChemTypeInfoContract
The chemical definition corresponding to the given code
Exceptions
- ChemTypeNotFoundContract
This exception would be thrown if the given code is not found in the database