Methods

Single Methods

The methods of the Single structure are listed here. For a complete list of Single structure members, see the Single Members topic.

Public Methods

public methodCompareTo

Supported by the .NET Compact Framework.

Compares this instance to a specified object and returns an indication of their relative values.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Returns a value indicating whether this instance is equal to a specified object.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetTypeCode

Supported by the .NET Compact Framework.

Returns the TypeCode for value type Single.
public methodstatic (Shared in Visual Basic)IsInfinity

Supported by the .NET Compact Framework.

Returns a value indicating whether the specified number evaluates to negative or positive infinity.
public methodstatic (Shared in Visual Basic)IsNaN

Supported by the .NET Compact Framework.

Returns a value indicating whether the specified number evaluates to not a number (NaN).
public methodstatic (Shared in Visual Basic)IsNegativeInfinity

Supported by the .NET Compact Framework.

Returns a value indicating whether the specified number evaluates to negative infinity.
public methodstatic (Shared in Visual Basic)IsPositiveInfinity

Supported by the .NET Compact Framework.

Returns a value indicating whether the specified number evaluates to positive infinity.
public methodstatic (Shared in Visual Basic)Parse

Supported by the .NET Compact Framework.

Overloaded. Converts the string representation of a number to its single-precision floating point number equivalent.
public methodToString

Supported by the .NET Compact Framework.

Overloaded. Overridden. Converts the numeric value of this instance to its equivalent string representation.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Single Structure | System Namespace

Show:
© 2016 Microsoft