TagLib.IFD.IFDStructure.SetDateTimeValue C# (CSharp) Method

SetDateTimeValue() public method

Adds a Entries.StringIFDEntry to the directory with tag given by entry_tag and value given by value. The value is stored as a date string according to the Exif specification.
public SetDateTimeValue ( int directory, ushort entry_tag, System.DateTime value ) : void
directory int /// A with the number of the directory /// to add the entry to. ///
entry_tag ushort /// A with the tag of the entry ///
value System.DateTime /// A with the value to add. ///
return void
		public void SetDateTimeValue (int directory, ushort entry_tag, DateTime value)
		{
			string date_string = value.ToString (DATETIME_FORMAT);
				
			SetStringValue (directory, entry_tag, date_string);
		}