Click or drag to resize
IPdxInstanceGetField Method
Reads the named field and returns its value. If the field does not exist
null
is returned. A
null
result indicates that the field does not exist or that it exists and its value is currently
null
. The HasField(String) method can be used to figure out which if these two cases is true. If an Object[] is deserialized by this call then that array's component type will be
Object
instead of the original class that the array had when it was serialized. This is done so that PdxInstance objects can be added to the array.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
Object GetField(
	string fieldName
)

Parameters

fieldName
Type: SystemString
name of the field to read

Return Value

Type: Object
If this instance has the named field then the field's value is returned, otherwise
null
is returned.
See Also