How to set the timeOfDay field in .net


I am working on consuming the AIF webservice in .net, in one of the table there is a field with type timeOfDay. I tried to set the field value in .net using the DateTime type, but it doesn’t set on the table correcly, it always set 12:00. how can i set the timeOfDay value in .net