RiakObjectSetObjectT Method (T, String, SerializeObjectToStringT) |
Set the object's value, after serializing it with the provided serializer.
Namespace:
RiakClient.Models
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax public void SetObject<T>(
T value,
string contentType,
SerializeObjectToString<T> serializeObject
)
where T : class
member SetObject :
value : 'T *
contentType : string *
serializeObject : SerializeObjectToString<'T> -> unit when 'T : not struct
Parameters
- value
- Type: T
The unserialized value. - contentType
- Type: SystemString
The content type of the object. - serializeObject
- Type: RiakClient.ModelsSerializeObjectToStringT
A delegate to handle serialization of an object to a string.
Type Parameters
- T
- The type of the value.
See Also