Microsoft Identity Integration Server 2003 Developer Reference

Value.ToBoolean

The ToBoolean method interprets the contents of the Value object as a Boolean value.
[C#]
public bool ToBoolean();
[Visual Basic .NET]
Public Function ToBoolean() As Boolean

Parameters

This method has no parameters.

Return Values

Returns a Boolean interpretation of the contents of the Value object.

Exceptions

Exception type Condition
InvalidOperationException The value cannot be converted to the specified data type.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Value