Controls what fields of a class will be auto serialized by this serializer. Override this method to customize what fields of a class will be auto serialized. The default implementation:
  • excludes NonSerialized fields
  • excludes static fields
  • excludes literal fields
  • excludes readonly fields
All other fields are included. This method is only called the first time it sees a new class. The result will be remembered and used the next time the same class is seen.

Namespace: GemStone.GemFire.Cache.Generic
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.2.0

Syntax

C#
public virtual bool IsFieldIncluded(
	FieldInfo fi,
	Type type
)
Visual Basic (Declaration)
Public Overridable Function IsFieldIncluded ( _
	fi As FieldInfo, _
	type As Type _
) As Boolean
Visual C++
public:
virtual bool IsFieldIncluded (
	FieldInfo^ fi, 
	Type^ type
)

Parameters

fi
FieldInfo
the field being considered for serialization
type
Type
the original class being serialized that owns this field.

Return Value

true if the field should be serialized as a pdx field; false if it should be ignored.

See Also