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

GetByteValue() public method

Returns a System.Nullable containing the System.Byte stored in the entry defined by entry_tag.
public GetByteValue ( int directory, ushort entry_tag ) : byte?
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 byte?
		public byte? GetByteValue (int directory, ushort entry_tag)
		{
			var entry = GetEntry (directory, entry_tag);
			
			if (entry != null && entry is ByteIFDEntry)
				return (entry as ByteIFDEntry).Value;
			
			return null;
		}