Partilhar via


InitString.GetNodeInnerTextBool Method

Retrieves boolean-interpreted value of InnerText of specified node, returns defaultValue if interpretation fails.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim node As XmlNode
Dim defaultValue As Boolean
Dim returnValue As Boolean

returnValue = InitString.GetNodeInnerTextBool(node, defaultValue)

Syntax

'Declaration
Protected Shared Function GetNodeInnerTextBool ( _
    node As XmlNode, _
    defaultValue As Boolean _
) As Boolean
protected static bool GetNodeInnerTextBool (
    XmlNode node,
    bool defaultValue
)
protected:
static bool GetNodeInnerTextBool (
    XmlNode^ node, 
    bool defaultValue
)
protected static boolean GetNodeInnerTextBool (
    XmlNode node, 
    boolean defaultValue
)
protected static function GetNodeInnerTextBool (
    node : XmlNode, 
    defaultValue : boolean
) : boolean

Parameters

  • node
    Specifies the node.
  • defaultValue
    True

Return Value

Type: Boolean
True if the text is successfully retrieved, otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

InitString Class
InitString Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.