RiakObjectSetObjectT Method (T, String) |
Set the object's value, after serializing it.
Namespace:
RiakClient.Models
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax public void SetObject<T>(
T value,
string contentType = null
)
where T : class
member SetObject :
value : 'T *
?contentType : string
(* Defaults:
let _contentType = defaultArg contentType null
*)
-> unit when 'T : not struct
Parameters
- value
- Type: T
The unserialized value. - contentType (Optional)
- Type: SystemString
The content type of the object.
Type Parameters
- T
- The type of the value.
Remarks See Also