BCGControlBar Library for .NET
ReadBoolValue Method




The XML node to get a boolean value from.
The name of the element in XML node to get a value.
The value which should be set by default.
Called by the framework to read boolean value from the specified XML node.
Syntax
'Declaration
 
Public Shared Function ReadBoolValue( _
   ByVal node As XmlNode, _
   ByVal valueName As String, _
   ByVal orgValue As Boolean _
) As Boolean
'Usage
 
Dim node As XmlNode
Dim valueName As String
Dim orgValue As Boolean
Dim value As Boolean
 
value = GlobalUtils.ReadBoolValue(node, valueName, orgValue)
public static bool ReadBoolValue( 
   XmlNode node,
   string valueName,
   bool orgValue
)
public: static bool ReadBoolValue( 
   XmlNode* node,
   string* valueName,
   bool orgValue
) 
public:
static bool ReadBoolValue( 
   XmlNode^ node,
   String^ valueName,
   bool orgValue
) 

Parameters

node
The XML node to get a boolean value from.
valueName
The name of the element in XML node to get a value.
orgValue
The value which should be set by default.
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

Reference

GlobalUtils Class
GlobalUtils Members

Send Feedback