BitMiracle.LibTiff.Classic.Tiff.FieldWithName C# (CSharp) Method

FieldWithName() public method

Retrieves field information for the tag with specified name.
public FieldWithName ( string name ) : TiffFieldInfo
name string The name of the tag to retrieve field information for.
return TiffFieldInfo
        public TiffFieldInfo FieldWithName(string name)
        {
            TiffFieldInfo fip = FindFieldInfoByName(name, TiffType.ANY);
            if (fip != null)
                return fip;

            ErrorExt(this, m_clientdata, "FieldWithName", "Internal error, unknown tag {0}", name);
            Debug.Assert(false);
            return null;
        }
Tiff