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

NodeUtils.GetIntAttribute Method 

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

[Visual Basic]
Public Shared Function GetIntAttribute( _
   ByVal NameValueCollection As NameValueCollection, _
   ByVal String As String, _
   ByVal Int32 As Integer _
) As Integer
[C#]
public static int GetIntAttribute(
   NameValueCollection attributes,
   String name,
   Int32 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