Click or drag to resize

SerializationUtilsInfoGetString Method (SerializationInfo, String, String)

Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, an empty string is returned.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public static string InfoGetString(
	SerializationInfo info,
	string fieldName,
	string defaultValue
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
info structure which values.
fieldName
Type: SystemString
name of field to read. Must be string field
defaultValue
Type: SystemString
the default value to return, if the value to deserialize isn't found

Return Value

Type: String
the value read from info, otherwise an empty string
See Also