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!

Enum.ToSingle

Converts the current value to a single-precision floating point number based on the underlying type.

[Visual Basic]
Overridable Public Function ToSingle() As Single
[C#]
public virtual float ToSingle();
[C++]
public: virtual float ToSingle();
[JScript]
public function ToSingle() : float;

Exceptions

Exception Type Condition
InvalidCastException Always.

Remarks

Currently not implemented. Always throws an exception.

See Also

Enum Class | Enum Members | System Namespace