Method SerializeSerialize(object)Serializes an object into a byte array. Declaration byte[] Serialize(object value) Parameters Type Name Description object value The object to serialize. Returns Type Description byte[] A byte array representing value.