Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
Convert Class
Convert Methods
ToInt32 Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Convert..::.ToInt32 Method

Converts a specified value to a 32-bit signed integer.

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Boolean)Converts the specified Boolean value to the equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Byte)Converts the value of the specified 8-bit unsigned integer to the equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Char)Converts the value of the specified Unicode character to the equivalent 32-bit signed integer.
Public methodStatic memberToInt32(DateTime)Calling this method always throws InvalidCastException.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Decimal)Converts the value of the specified decimal number to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Double)Converts the value of the specified double-precision floating-point number to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Int16)Converts the value of the specified 16-bit signed integer to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Int32)Returns the specified 32-bit signed integer; no actual conversion is performed.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Int64)Converts the value of the specified 64-bit signed integer to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Object)Converts the value of the specified object to a 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(SByte)Converts the value of the specified 8-bit signed integer to the equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Single)Converts the value of the specified single-precision floating-point number to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(String)Converts the specified string representation of a number to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(UInt16)Converts the value of the specified 16-bit unsigned integer to the equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(UInt32)Converts the value of the specified 32-bit unsigned integer to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(UInt64)Converts the value of the specified 64-bit unsigned integer to an equivalent 32-bit signed integer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(Object, IFormatProvider)Converts the value of the specified object to a 32-bit signed integer, using the specified culture-specific formatting information.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(String, IFormatProvider)Converts the specified string representation of a number to an equivalent 32-bit signed integer, using the specified culture-specific formatting information.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToInt32(String, Int32)Converts the string representation of a number in a specified base to an equivalent 32-bit signed integer.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker