VMware Tanzu GemFire .NET Client API Reference
WritablePdxInstance is a IPdxInstance that also supports field modification using the SetFieldmethod. To get a WritablePdxInstance call IPdxInstance.CreateWriter. More...
Public Member Functions | |
| void | SetField (string fieldName, object value) |
| Set the existing named field to the given value. The setField method has copy-on-write semantics. So for the modifications to be stored in the cache the WritablePdxInstance must be put into a region after setField has been called one or more times. More... | |
Detailed Description
WritablePdxInstance is a IPdxInstance that also supports field modification using the SetFieldmethod. To get a WritablePdxInstance call IPdxInstance.CreateWriter.
Member Function Documentation
◆ SetField()
| void IWritablePdxInstance.SetField | ( | string | fieldName, |
| object | value | ||
| ) |
Set the existing named field to the given value. The setField method has copy-on-write semantics. So for the modifications to be stored in the cache the WritablePdxInstance must be put into a region after setField has been called one or more times.
param name="fieldName"> name of the field whose value will be set
param name="value"> value that will be assigned to the field
exception cref="GemFireIllegalStateException"> if the named field does not exist or if the type of the value is not compatible with the field
The documentation for this interface was generated from the following file:
- gemfire.client/Interfaces/IWritablePdxInstance.cs

