Method CheckIfSerializable
CheckIfSerializable(Type, FieldInfo)
Provide custom implementation of this method to return true or false on the basis of whether you want to serialize the specific FieldInfo of specific type.
Declaration
bool CheckIfSerializable(Type type, FieldInfo fieldInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Represents type declarations. |
System.Reflection.FieldInfo | fieldInfo | Describes the attributes of a field and provides access to field metadata. |
Returns
Type | Description |
---|---|
System.Boolean | Boolean value, true or false. |