Value.ToBoolean Method
The ToBoolean method interprets the contents of the Value object as a Boolean value.
Syntax
public bool ToBoolean();
Public Function ToBoolean() As Boolean
Parameters
This method has no parameters.
Return Value
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 | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009