Click or drag to resize
SerializationUtils.InfoGetInt32 Method (SerializationInfo, String, Int32)
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, 0 is returned.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public static int InfoGetInt32(
	SerializationInfo info,
	string fieldName,
	int defaultValue
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
info structure which values.
fieldName
Type: System.String
name of field to read. Must be boolean field
defaultValue
Type: System.Int32
the value to return if the value to deserialize isn't found

Return Value

Type: Int32
the value read from info, otherwise false
See Also