Achamenes.ID3.Frames.YearTextFrame.Validate C# (CSharp) 메소드

Validate() 보호된 메소드

protected Validate ( string value ) : void
value string
리턴 void
        protected override void Validate(string value)
        {
            if(value.Length>4)
            {
                throw new InvalidFrameValueException(value,"Invalid value supplied for the Year frame. Maximum length is 4.");
            }
        }