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

SetStringValue() public method

Adds a Entries.StringIFDEntry to the directory with tag given by entry_tag and value given by value
public SetStringValue ( int directory, ushort entry_tag, string 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 string /// A with the value to add. If it is /// an possibly already contained entry is removed for given tag. ///
return void
		public void SetStringValue (int directory, ushort entry_tag, string value)
		{
			if (value == null) {
				RemoveTag (directory, entry_tag);
				return;
			}
			
			SetEntry (directory, new StringIFDEntry (entry_tag, value));
		}