ImageMagick.IptcProfile.RemoveValue C# (CSharp) Method

RemoveValue() public method

Removes the value with the specified tag.
public RemoveValue ( IptcTag tag ) : bool
tag IptcTag The tag of the iptc value.
return bool
    public bool RemoveValue(IptcTag tag)
    {
      Initialize();

      for (int i = 0; i < _Values.Count; i++)
      {
        if (_Values[i].Tag == tag)
        {
          _Values.RemoveAt(i);
          return true;
        }
      }

      return false;
    }