NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Boolean.ToInt32

Converts this instance of a Boolean value to an Int32.

[Visual Basic]
Overridable Public Function ToInt32() As Integer
[C#]
public virtual int ToInt32();
[C++]
public: virtual int ToInt32();
[JScript]
public function ToInt32() : int;

Return Value

A value as an Int32.

Remarks

The ToInt32 method returns an int. It returns a 32-bit, 4-byte signed integer with the converted number.

This method implements IConvertible, which replaced IValue. This method is used to obtain the type code for a specified object. (See the TypeCode enumeration for more information about type codes, Convert, and ToInt32.)

See Also

Boolean Structure | Boolean Members | System Namespace