Click or drag to resize

SerializationUtilsInfoGetInt32 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.11.0.0 (5.11.23.1114)
Syntax
public static int InfoGetInt32(
	SerializationInfo info,
	string fieldName,
	int defaultValue
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
info structure which values.
fieldName
Type: SystemString
name of field to read. Must be boolean field
defaultValue
Type: SystemInt32
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