ValueAsBool Property
Gets a value indicating whether value as Bool.
Syntax
'Declaration <SuppressMessageAttribute("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="bool", Justification="Acked")> Public MustOverride ReadOnly Property ValueAsBool As Boolean
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="bool", Justification="Acked")] public abstract bool ValueAsBool {get;}
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="bool", Justification="Acked")] public: abstract property bool ValueAsBool { bool get(); }
Property Value
true
if [value as bool]; otherwise, false
.Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also