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.8.0.0 (5.8.21.0111)
Syntax public static string InfoGetString(
SerializationInfo info,
string fieldName,
string defaultValue
)
Public Shared Function InfoGetString (
info As SerializationInfo,
fieldName As String,
defaultValue As String
) As String
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:
Stringthe value read from info, otherwise an empty string
See Also