ApiClientSerializationSerializeT Method |
Serializes the specified object to a sequence of bytes,
following the provided rules for camel case property name and null value handling.
Namespace:
ArangoDBNetStandard.Serialization
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public abstract byte[] Serialize<T>(
T item,
ApiClientSerializationOptions serializationOptions
)
Public MustOverride Function Serialize(Of T) (
item As T,
serializationOptions As ApiClientSerializationOptions
) As Byte()
public:
generic<typename T>
virtual array<unsigned char>^ Serialize(
T item,
ApiClientSerializationOptions^ serializationOptions
) abstract
abstract Serialize :
item : 'T *
serializationOptions : ApiClientSerializationOptions -> byte[]
Parameters
- item
- Type: T
The object to serialize. - serializationOptions
- Type: ArangoDBNetStandard.SerializationApiClientSerializationOptions
The serialization options. When the value is null the
the serialization options should be provided by the serializer, otherwise the given options should be used.
Type Parameters
- T
- The type of the object to serialize.
Return Value
Type:
ByteImplements
IApiClientSerializationSerializeT(T, ApiClientSerializationOptions)See Also