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

GetLongValue() public method

Returns a System.Nullable containing the System.UInt32 stored in the entry defined by entry_tag.
public GetLongValue ( int directory, ushort entry_tag ) : uint?
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 uint?
		public uint? GetLongValue (int directory, ushort entry_tag)
		{
			var entry = GetEntry (directory, entry_tag);
			
			if (entry is LongIFDEntry)
				return (entry as LongIFDEntry).Value;
				
			if (entry is ShortIFDEntry)
				return (entry as ShortIFDEntry).Value;
			
			return null;
		}