iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

NodeUtils.GetBooleanAttribute Method 

Searches for the attribute with the specified name in this attributes list.

[Visual Basic]
Public Shared Function GetBooleanAttribute( _
   ByVal NameValueCollection As NameValueCollection, _
   ByVal String As String, _
   ByVal Boolean As Boolean _
) As Boolean
[C#]
public static bool GetBooleanAttribute(
   NameValueCollection attributes,
   String name,
   Boolean def
);

Parameters

attributes
name
The key
def
The default value to be returned if the attribute is not found.

Return Value

See Also

NodeUtils Class | IBatisNet.Common.Xml Namespace