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

GetStringValue() public method

Returns the System.String stored in the entry defined by entry_tag.
public GetStringValue ( int directory, ushort entry_tag ) : string
directory int /// A with the number of the directory /// to search for the entry. ///
entry_tag ushort /// A with the tag of the entry ///
return string
		public string GetStringValue (int directory, ushort entry_tag)
		{
			var entry = GetEntry (directory, entry_tag);
			
			if (entry != null && entry is StringIFDEntry)
				return (entry as StringIFDEntry).Value;
			
			return null;
		}