AlbLib.INI.INIProperty.ToInt32 C# (CSharp) 메소드

ToInt32() 공개 메소드

public ToInt32 ( ) : int
리턴 int
        public int ToInt32()
        {
            int output;
            if(Int32.TryParse(Value, out output))
            {
                return output;
            }else{
                throw new NotSupportedException("Value is not integer.");
            }
        }