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.ToBoolean

Converts the current value to a Boolean value based on the underlying type.

[Visual Basic]
Overridable Public Function ToBoolean() As Boolean
[C#]
public virtual bool ToBoolean();
[C++]
public: virtual bool ToBoolean();
[JScript]
public function ToBoolean() : Boolean;

Exceptions

Exception Type Condition
InvalidCastException Always.

Remarks

Currently not implemented. Always throws an exception.

See Also

Enum Class | Enum Members | System Namespace