System.Convert.Convert.ToInt32 C# (CSharp) Method

ToInt32() public static method

public static ToInt32 ( System.DateTime value ) : int
value System.DateTime
return int
		public static int ToInt32 (DateTime value)
		{
			throw new InvalidCastException ("This conversion is not supported.");
		}
	

Same methods

Convert.Convert::ToInt32 ( bool value ) : int
Convert.Convert::ToInt32 ( byte value ) : int
Convert.Convert::ToInt32 ( char value ) : int
Convert.Convert::ToInt32 ( decimal value ) : int
Convert.Convert::ToInt32 ( double value ) : int
Convert.Convert::ToInt32 ( float value ) : int
Convert.Convert::ToInt32 ( int value ) : int
Convert.Convert::ToInt32 ( long value ) : int
Convert.Convert::ToInt32 ( object value ) : int
Convert.Convert::ToInt32 ( object value, IFormatProvider provider ) : int
Convert.Convert::ToInt32 ( sbyte value ) : int
Convert.Convert::ToInt32 ( short value ) : int
Convert.Convert::ToInt32 ( string value ) : int
Convert.Convert::ToInt32 ( string value, IFormatProvider provider ) : int
Convert.Convert::ToInt32 ( string value, int fromBase ) : int
Convert.Convert::ToInt32 ( uint value ) : int
Convert.Convert::ToInt32 ( ulong value ) : int
Convert.Convert::ToInt32 ( ushort value ) : int